Difference between revisions of "Puppet apply"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
* <code>puppet apply</code>
+
{{lc}}
* <code>puppet apply my_first_puppet_example.pp</code>
+
* <code>[[puppet]] apply</code>
 +
* <code>[[puppet apply my_first_puppet_example.pp]]</code>
 +
 
 +
 
 +
 
 +
exec { 'count number of files':
 +
  command => '/bin/ls | [[wc -l]] > /home/my_user/count.txt',
 +
}
  
 
== See also ==
 
== See also ==

Latest revision as of 13:03, 19 May 2022


exec { 'count number of files':
  command => '/bin/ls | wc -l > /home/my_user/count.txt',
}

See also[edit]

Advertising: