Given the following pattern in a puppet manifest:
file{ 'some/file/foo':
content => 'blah blah blah',
notify => Exec['talkaboutfoo']
}
exec { 'talkaboutfoo':
cmd => "some/command/some/where",
subscribe => File['some/file/foo']
}
with a little bit of hand waving.
Is there something similar in a custom provider? Reason I'm asking is I have
written a custom provider for a very customized piece of locally grown software that ideally one of the configuration parameters
mytype{ 'instance':
state => "on", # this parameter
parm1=> "a",
parm2=> "b",
parm3=>"c"
}
should be set *last* among all the other parameters.
Is there a way to do that?