Difference between revisions of "Puppet apply"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
  
 
  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',
 
  }
 
  }
  

Revision as of 13:35, 19 July 2021


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

See also

Advertising: