Christoph I've done something similar by wrapping the class on a conditional, such as a 'class_ran=true' fact...
That way, the class only gets included in the catalogue if 'class_ran=false'... A bit crude, but it works... Gav On Tuesday, 7 June 2016 11:13:33 UTC+1, Christoph wrote: > > Hi there, > > I want to run a whole puppet class only once when provisioning a system > for the first time. > > Unfortunately I do not find a way to do this. > > I know how to run commands once using onlyif or unless or creates, but > what about running a whole class ? > > Thanks > Christoph > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/d9e215a0-c21f-49de-8ce9-791ff670bee9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
