Yes I want to fill /myappbase/applis/conf with the content of twice
sources, but in different class.
Le jeudi 16 août 2012 17:41:12 UTC+2, Rost a écrit :
>
> Hi all,
>
> I'm developing my own module, and i want to declare same resources in
> different class like this :
Hi all,
I'm developing my own module, and i want to declare same resources in
different class like this :
This resource is used to configure my Jboss server by copying conf files in
/myappbase/applis/conf
class srhjboss::config::applis {
file { "/myappbase/applis/conf":
ensure => directory,
thks
Le mardi 14 août 2012 22:21:04 UTC+2, Dominic Cleal a écrit :
>
> On 14/08/12 18:18, Rost wrote:
> > Hi All,
> >
> > I would like to use puppet for deploying Jboss application.
> >
> > The property file of my Jboss app need to be evaluated before m
Hi All,
I would like to use puppet for deploying Jboss application.
The property file of my Jboss app need to be evaluated before moving in the
conf dir as it's a template.
How could I make this kind of operation with native resources of puppet.
*Example :*
I have this file *myapp.properties
Hi Axel
Thanks a lot, you solution is right.
Le vendredi 10 août 2012 12:40:21 UTC+2, Rost a écrit :
>
> Hi all,
>
> I am struggling on how to do this :
>
> $path = '/tmp/lib'
>
> file { $path:
>ensure => directory,
>recurse => true,
>
Hi all,
I am struggling on how to do this :
$path = '/tmp/lib'
file { $path:
ensure => directory,
recurse => true,
purge => true,
}
file { $path:
ensure => directory,
resurce => true,
source => 'puppet:///modules/jboss/lib
}
When puppet compiles the manifest, I get the follow
thanks Brian,
You are right !!!
It's working
Le mercredi 8 août 2012 15:42:02 UTC+2, Rost a écrit :
>
> Hi all,
>
> I'm trying to have the exec resource write a file after the command but it
> don't.
>
> here is the resource declaration
>
> class gep
Hi all,
I'm trying to have the exec resource write a file after the command but it
don't.
here is the resource declaration
class gepet {
notify { 'begin':}
file { '/root/essai/html':
ensure => present,
content => "Wrote By Yves Nton",
notify => Exec['test'],
}
exec { 'test':
path => "/usr/bin
nit_script.sh',
> }
>
> Since you're using a custom start script, you may need to also specify
> custom status and restart scripts so that puppet can better control the
> process if the httpd config file ever changes and you want the service to
> restart aut
che2/conf/httpd -k start
Thanks a lot.
Le lundi 6 août 2012 21:39:23 UTC+2, pmbuko a écrit :
>
> On Aug 6, 2012, at 2:45 PM, Rost wrote:
>
> Hi everbody !!!
>
> I would like to know how to use the parameter start of the service
> resource type. Because i want to use my o
Hi everbody !!!
I would like to know how to use the parameter start of the service resource
type. Because i want to use my own script to start my service.
I have tried 2 cases and did'nt work.
Here are the cases :
service { 'myservice':
start => '/root/myinit_script.sh'
}
service { 'myservi
Thanks a lot. All this works fine for me.
Le jeudi 5 janvier 2012 02:04:34 UTC+1, Jo a écrit :
>
> NOTE: this is a draft document, just because there are some things here
> that I'd really like to improve. Please let me know if you have a better
> way to do these things. There's also a few i
12 matches
Mail list logo