Difference between revisions of "Puppet apply"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
{{lc}}
 
* <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>
Line 5: Line 6:
  
 
  exec { 'count number of files':
 
  exec { 'count number of files':
   command => '/bin/ls | [[wc]] -l > /home/my_user/count.txt',
+
   command => '/bin/ls | [[wc -l]] > /home/my_user/count.txt',
 
  }
 
  }
  

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: