Hi,
How do I force my Service declaration (with is defined elsewhere and
inherited) is run after an exec has run?

The code;
class autofs_nis::services inherits services::base {
    Service['ypbind'] {
        ensure => running,
        enable=> true,
    }
    .....
}

class autofs_nis::exec inherits services::base {
    exec { "setdomainname":
        command => "domainname blanked",
        path => "/bin",
        unless => "[[ $(domainname) == \"blanked\" ]]",
    }
}

Open to suggestions to do this differently.

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to