Guest User

Untitled

a guest
Apr 22nd, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.37 KB | None | 0 0
  1. node mynode {
  2.         file {"/etc/sysconfig/network-scripts/ifcfg-lo:8":
  3.                 source  => "puppet:///files/web/ifcfg-lo:8",
  4.                 mode    => 0644,
  5.                 seluser => "system_u",
  6.                 selrole => "object_r",
  7.                 seltype => "net_conf_t",
  8.                 notify  => Exec["ifup lo"],
  9.         }
  10.  
  11.     exec { "ifup lo":
  12.     }
  13. }
Add Comment
Please, Sign In to add comment