Difference between revisions of "Puppet apply"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
* <code>[[puppet]] apply</code>
 
* <code>[[puppet]] apply</code>
 
* <code>[[puppet apply my_first_puppet_example.pp]]</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 ==

Revision as of 13:33, 19 July 2021


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

See also

Advertising: