Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
# Register the node with the TSM server. Assign it to TSM_DOM02 temporarily. exec { "/usr/bin/dsmadmc -id=user -password=pw reg node $host pw userid=none dom=TSM01_DOM02 | touch /opt/tivoli/tsm/client/ba/bin/registerd": creates => "/opt/tivoli/tsm/client/ba/bin/registered", require => Class["tsm::linux::install"] } # Create the password file, only if it does not already exist exec { "/usr/bin/dsmc set password pw pw": creates => "/etc/adsm/TSM.PWD", require => Exec["/usr/bin/dsmadmc -id=user -password=pw reg node $host pw userid=none | touch /opt/tivoli/tsm/client/ba/bin/registerd"] } err: Could not apply complete catalog: Could not retrieve dependency 'Exec[/usr/bin/dsmadmc -id=user -password=pw reg node pw userid=none | touch /opt/tivoli/tsm/client/ba/bin/registerd]' of Exec[/usr/bin/dsmc set password pw pw] at /etc/puppet/manifests/fcprod/modules/tsm/manifests/linux.pp:93
This paste will be private.
From the Design Piracy series on my blog: