Re: [Puppet Users] Facter Strings to integer.

2013-03-18 Thread 51web
thanks ,that's help me, too! On Tue, Mar 19, 2013 at 12:25 AM, Alessandro Ogier wrote: > Il 18/03/2013 17:16, ollies...@googlemail.com ha scritto: > > Hello, >> >> If I want to do something like this:- >> >> if $::lsbdistrelease >= 6.3 { >> SOMETHING >> } >> >> Do I have to convert lsbdistrelea

Re: [Puppet Users] Can't get past Permission denied error

2013-03-17 Thread 51web
puppet working well on centos6 with SELinux=enforce. On Thu, Mar 14, 2013 at 11:26 PM, Aaron Grewell wrote: > Do you have selinux in enforcing mode? If so, try setting it to permissive > mode and see if it starts working. > On Mar 14, 2013 8:09 AM, "Mike Canty" wrote: > >> I am running Centos

Re: [Puppet Users] run puppet master with apache , why no module include in catalog ?

2013-03-17 Thread 51web
you can try 'puppet agent --debug --noop --no-daemonize' to see more message. On Fri, Mar 15, 2013 at 11:45 AM, 朱秀龙 wrote: > First I run puppet master with default webserver webrick, and it work > well, I have a test module, and when I make any changes to this module, > when executing puppet ag

Re: [Puppet Users] how puppet restart a service

2013-03-15 Thread 51web
you could try exec type, http://docs.puppetlabs.com/references/2.7.latest/type.html#exec or MColletive http://docs.puppetlabs.com/mcollective On Fri, Mar 15, 2013 at 3:06 PM, 陈士超 wrote: > i do like this: > service{ > "lighttpd": > hasrestart => true, > hasstatus => true, > restart => "/sbin/se