I am getting a error and do not understand why it is failing. There
output is below

puppet apply /etc/puppetlabs/puppet/modules/authconfig/tests/init.pp -
vvvvvv --noop --debug
info: Loading facts in iptables
info: Loading facts in serve
info: Loading facts in serve
info: Loading facts in iptables
debug: Executing 'cd /etc/puppetlabs/puppet && git rev-parse HEAD'
debug: importing '/etc/puppetlabs/puppet/modules/authconfig/manifests/
init.pp' in environment production
Could not match “samba” at /etc/puppetlabs/puppet/modules/authconfig/
manifests/init.pp:3

I have looked all over and it seems my manifest entry is correct for
samba. What am I missing here? Below is my manifest.
class authconfig {

package {“samba”
    ensure => installed;
    notify => exec[“ad_account”]
}

exec { “ad_account”:
  path => "/usr/bin:/usr/sbin:/bin",
  command => “id blah”,
  returns => 1,
  notify => exec [ “authconfig”]
}

exec { “authconfig” :
  path => “/usr/bin:/usr/sbin:/bin”
  command => “authconfig –blah –blah”
  command => “net ads join -UAdministrator%password”

}

exec {“net join::
  pasth => “/usr/bin:/usr/sbin:/bin”,
  command => “net ads join -UAdministrator%password”
}


service {  winbind:
  ensure => running,
}
}

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to