1 When updating puppet to a newer version one of the required update
2 steps is to update the puppet SMF configuration file. To aid in
3 that process the update_smf.py utility can be used to automate the
4 regeneration of this file. To use this utility follow the outlined
8 1. Update the puppet release and perform all update activities
11 2. Generate and install the puppet release on a system.
13 3. Execute the following puppet command
15 $ puppet agent --genconfig > puppet.conf
17 4. Copy or make available the puppet.conf file created in step 3
18 to the system with the userland tree
20 5. Execute the following commands:
22 $ cd <userland>/components/puppet/files
23 $ python update_smf.py -c <path>/puppet.conf -s puppet.xml
24 -v <puppet_version> -o puppet.new.xml
26 6. Perform a quick check of the resulting SMF file puppet.new.xml
27 to make sure everything looks correct.
29 7. Update the current puppet.xml file with the new version
31 $ mv puppet.new.xml puppet.xml