Hi,
You''re probably hitting this bug or similar:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573551
Cheers,
Den
On 17/06/2011, at 4:52, "Cashdollar, Matthew"
<mcashdollar@RandMcNally.com> wrote:
> Hello,
>
> Could someone tell me how to use ''enable'' on Ubuntu? I
am not too
> familiar with this OS, as I usually use CentOS. I am using Puppet
> 2.6.8.
>
> The problem is that every time I try to use enable it causes the node to
> appear as "yellow" on the puppet-dashboard:
> notice enable changed ''false'' to
''true''
> /Stage[main]/Ssh::Service/Service[ssh]/enable
> /etc/puppet/modules/ssh/manifests/service.pp 11 2011-06-16 13:32
> CDT
>
> My CentOS systems don''t have this problem when using the same
module.
>
> Here is my service.pp class:
> class ssh::service {
> if $operatingsystem == "Ubuntu" {
> $daemonname = "ssh"
> } else {
> $daemonname = "sshd"
> }
> service { $daemonname:
> ensure => running,
> enable => true,
> require => Class["ssh::config"],
> }
> }
>
> Thanks,
> Matt
>
> --
> You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.