Advertisement
RobertBerger

puppet-run-1-2

Mar 9th, 2017
2,853
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Puppet 14.53 KB | None | 0 0
  1. student@x61s-11:~$ sudo puppet agent -t
  2. Info: Retrieving pluginfacts
  3. Info: Retrieving plugin
  4. Info: Loading facts
  5. Info: Caching catalog for x61s-11.res.training
  6. Info: Applying configuration version '1489074973'
  7. Notice: /Stage[main]/Main/Exec[apt-update]/returns: executed successfully
  8. Error: -su: byobu-select-backend: command not found
  9.  
  10. Error: /Stage[main]/Main/Exec[su - student -c "byobu-select-backend screen"]/returns: change from notrun to 0 failed: -su: byobu-select-backend: command not found
  11.  
  12. Notice: /Stage[main]/Main/Package[libncursesw5-dev]/ensure: ensure changed 'purged' to 'present'
  13. Notice: /Stage[main]/Main/Package[lzop]/ensure: ensure changed 'purged' to 'present'
  14. Notice: /Stage[main]/Main/Package[tree]/ensure: ensure changed 'purged' to 'present'
  15. Notice: /Stage[main]/Main/Package[git]/ensure: ensure changed 'purged' to 'present'
  16. Notice: /Stage[main]/Main/Package[htop]/ensure: ensure changed 'purged' to 'present'
  17. Notice: /Stage[main]/Main/Package[indent]/ensure: ensure changed 'purged' to 'present'
  18. Notice: /Stage[main]/Main/Package[ccache]/ensure: ensure changed 'purged' to 'present'
  19. Notice: /Stage[main]/Main/Package[byobu]/ensure: ensure changed 'purged' to 'present'
  20. Notice: /Stage[main]/Main/Exec[byobu-select-backend screen]/returns: executed successfully
  21. Notice: /Stage[main]/Main/File[/tftpboot]/ensure: created
  22. Notice: /Stage[main]/Main/Exec[service tftpd-hpa force-reload]/returns: Failed to restart tftpd-hpa.service: Unit tftpd-hpa.service not found.
  23. Error: service tftpd-hpa force-reload returned 5 instead of one of [0]
  24. Error: /Stage[main]/Main/Exec[service tftpd-hpa force-reload]/returns: change from notrun to 0 failed: service tftpd-hpa force-reload returned 5 instead of one of [0]
  25. Notice: /Stage[main]/Main/Package[telnet]/ensure: ensure changed 'purged' to 'present'
  26. Notice: /Stage[main]/Main/Package[iotop]/ensure: ensure changed 'purged' to 'present'
  27. Notice: /Stage[main]/Main/Package[atop]/ensure: ensure changed 'purged' to 'present'
  28. Notice: /Stage[main]/Main/Package[pv]/ensure: ensure changed 'purged' to 'present'
  29. Notice: /Stage[main]/Main/Exec[locale-gen de_AT.UTF-8]/returns: executed successfully
  30. Notice: /Stage[main]/Sudo/File[/etc/sudoers.d/]/mode: mode changed '0755' to '0550'
  31. Notice: /Stage[main]/Sudo/File[/etc/sudoers]/content:
  32. --- /etc/sudoers    2017-01-20 16:03:57.000000000 +0000
  33. +++ /tmp/puppet-file20170309-2286-ewyteb    2017-03-09 15:58:18.563548966 +0000
  34. @@ -1,3 +1,4 @@
  35. +# file managed by puppet (unless config_file_replace=false)
  36.  #
  37.  # This file MUST be edited with the 'visudo' command as root.
  38.  #
  39. @@ -8,7 +9,7 @@
  40.  #
  41.  Defaults   env_reset
  42.  Defaults   mail_badpass
  43. -Defaults   secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
  44. +Defaults   secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
  45.  
  46.  # Host alias specification
  47.  
  48.  
  49. Info: Computing checksum on file /etc/sudoers
  50. Info: /Stage[main]/Sudo/File[/etc/sudoers]: Filebucketed /etc/sudoers to puppet with sum edcf6528783ecffd3f248c8089dc298e
  51. Notice: /Stage[main]/Sudo/File[/etc/sudoers]/content: content changed '{md5}edcf6528783ecffd3f248c8089dc298e' to '{md5}96d9cd290b72e37c1079aa2b4469491a'
  52. Notice: /Stage[main]/Main/Package[libncurses5-dev]/ensure: ensure changed 'purged' to 'present'
  53. Notice: /Stage[main]/Main/Package[vim]/ensure: ensure changed 'purged' to 'present'
  54. Notice: /Stage[main]/Main/Package[xdot]/ensure: ensure changed 'purged' to 'present'
  55. Error: /Stage[main]/Main/File_line[someline]: Could not evaluate: No such file or directory @ rb_sysopen - /etc/default/tftpd-hpa
  56. Notice: /Stage[main]/Main/Exec[dpkg-reconfigure -f noninteractive dash]/returns: executed successfully
  57. Notice: /Stage[main]/Main/Package[tftp]/ensure: ensure changed 'purged' to 'present'
  58. Notice: /Stage[main]/Main/Exec[echo "dash dash/sh boolean false" | debconf-set-selections]/returns: executed successfully
  59. Notice: /Stage[main]/Ssh::Client::Config/File[/etc/ssh/ssh_config]/content:
  60. --- /etc/ssh/ssh_config 2016-08-11 16:24:57.000000000 +0000
  61. +++ /tmp/puppet-file20170309-2286-eqnael    2017-03-09 15:59:02.495766814 +0000
  62. @@ -1,56 +1,5 @@
  63. -
  64. -# This is the ssh client system-wide configuration file.  See
  65. -# ssh_config(5) for more information.  This file provides defaults for
  66. -# users, and the values can be changed in per-user configuration files
  67. -# or on the command line.
  68. -
  69. -# Configuration data is parsed as follows:
  70. -#  1. command line options
  71. -#  2. user-specific file
  72. -#  3. system-wide file
  73. -# Any configuration value is only changed the first time it is set.
  74. -# Thus, host-specific definitions should be at the beginning of the
  75. -# configuration file, and defaults at the end.
  76. -
  77. -# Site-wide defaults for some commonly used options.  For a comprehensive
  78. -# list of available options, their meanings and defaults, please see the
  79. -# ssh_config(5) man page.
  80. +# File managed by Puppet
  81.  
  82.  Host *
  83. -#   ForwardAgent no
  84. -#   ForwardX11 no
  85. -#   ForwardX11Trusted yes
  86. -#   RhostsRSAAuthentication no
  87. -#   RSAAuthentication yes
  88. -#   PasswordAuthentication yes
  89. -#   HostbasedAuthentication no
  90. -#   GSSAPIAuthentication no
  91. -#   GSSAPIDelegateCredentials no
  92. -#   GSSAPIKeyExchange no
  93. -#   GSSAPITrustDNS no
  94. -#   BatchMode no
  95. -#   CheckHostIP yes
  96. -#   AddressFamily any
  97. -#   ConnectTimeout 0
  98. -#   StrictHostKeyChecking ask
  99. -#   IdentityFile ~/.ssh/identity
  100. -#   IdentityFile ~/.ssh/id_rsa
  101. -#   IdentityFile ~/.ssh/id_dsa
  102. -#   IdentityFile ~/.ssh/id_ecdsa
  103. -#   IdentityFile ~/.ssh/id_ed25519
  104. -#   Port 22
  105. -#   Protocol 2
  106. -#   Cipher 3des
  107. -#   Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
  108. -#   MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160
  109. -#   EscapeChar ~
  110. -#   Tunnel no
  111. -#   TunnelDevice any:any
  112. -#   PermitLocalCommand no
  113. -#   VisualHostKey no
  114. -#   ProxyCommand ssh -q -W %h:%p gateway.example.com
  115. -#   RekeyLimit 1G 1h
  116. -    SendEnv LANG LC_*
  117.      HashKnownHosts yes
  118. -    GSSAPIAuthentication yes
  119. -    GSSAPIDelegateCredentials no
  120. +    SendEnv LANG LC_*
  121.  
  122. Info: Computing checksum on file /etc/ssh/ssh_config
  123. Info: /Stage[main]/Ssh::Client::Config/File[/etc/ssh/ssh_config]: Filebucketed /etc/ssh/ssh_config to puppet with sum ac848ff6a465188e7dd91cf91dbe4889
  124. Notice: /Stage[main]/Ssh::Client::Config/File[/etc/ssh/ssh_config]/content: content changed '{md5}ac848ff6a465188e7dd91cf91dbe4889' to '{md5}6b6e968bce40150262b7ab85822e7c07'
  125. Info: Computing checksum on file /etc/sudoers.d/README
  126. Info: /Stage[main]/Sudo/File[/etc/sudoers.d/README]: Filebucketed /etc/sudoers.d/README to puppet with sum 8d3cf36d1713f40a0ddc38e1b21a51b6
  127. Notice: /Stage[main]/Sudo/File[/etc/sudoers.d/README]/ensure: removed
  128. Notice: /Stage[main]/Main/Sudo::Conf[foreman-proxy]/File[20_foreman-proxy]/ensure: created
  129. Info: /Stage[main]/Main/Sudo::Conf[foreman-proxy]/File[20_foreman-proxy]: Scheduling refresh of Exec[sudo-syntax-check for file /etc/sudoers.d/20_foreman-proxy]
  130. Notice: /Stage[main]/Main/Sudo::Conf[foreman-proxy]/Exec[sudo-syntax-check for file /etc/sudoers.d/20_foreman-proxy]: Triggered 'refresh' from 1 events
  131. Notice: /Stage[main]/Main/Sudo::Conf[student]/File[10_student]/ensure: created
  132. Info: /Stage[main]/Main/Sudo::Conf[student]/File[10_student]: Scheduling refresh of Exec[sudo-syntax-check for file /etc/sudoers.d/10_student]
  133. Notice: /Stage[main]/Main/Sudo::Conf[student]/Exec[sudo-syntax-check for file /etc/sudoers.d/10_student]: Triggered 'refresh' from 1 events
  134. Notice: /Stage[main]/Nfs::Server::Package/Package[nfs-kernel-server]/ensure: ensure changed 'purged' to 'present'
  135. Info: /Package[nfs-kernel-server]: Scheduling refresh of Service[nfs-server]
  136. Notice: /Stage[main]/Nfs::Server::Package/Package[nfs4-acl-tools]/ensure: ensure changed 'purged' to 'present'
  137. Info: /Package[nfs4-acl-tools]: Scheduling refresh of Service[nfs-server]
  138. Notice: /Stage[main]/Nfs::Server::Config/Concat[/etc/exports]/File[/etc/exports]/content:
  139. --- /etc/exports    2012-10-10 16:15:43.000000000 +0000
  140. +++ /tmp/puppet-file20170309-2286-1hh8pii   2017-03-09 15:59:26.811887391 +0000
  141. @@ -1,10 +1,2 @@
  142. -# /etc/exports: the access control list for filesystems which may be exported
  143. -#      to NFS clients.  See exports(5).
  144. -#
  145. -# Example for NFSv2 and NFSv3:
  146. -# /srv/homes       hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
  147. -#
  148. -# Example for NFSv4:
  149. -# /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
  150. -# /srv/nfs4/homes  gss/krb5i(rw,sync,no_subtree_check)
  151. -#
  152. +# This file is configured through the nfs::server puppet module
  153. +/opt *(rw,no_root_squash,no_subtree_check)
  154.  
  155. Info: Computing checksum on file /etc/exports
  156. Info: /Stage[main]/Nfs::Server::Config/Concat[/etc/exports]/File[/etc/exports]: Filebucketed /etc/exports to puppet with sum c4b5a82046e49d2e6a590e49d165f095
  157. Notice: /Stage[main]/Nfs::Server::Config/Concat[/etc/exports]/File[/etc/exports]/content: content changed '{md5}c4b5a82046e49d2e6a590e49d165f095' to '{md5}4707e7a59f6b12e48a4c63ed1e4968a4'
  158. Info: Concat[/etc/exports]: Scheduling refresh of Service[nfs-server]
  159. Notice: /Stage[main]/Main/Exec[locale-gen en_US.UTF-8]/returns: executed successfully
  160. Notice: /Stage[main]/Ssh::Server::Config/Concat[/etc/ssh/sshd_config]/File[/etc/ssh/sshd_config]/content:
  161. --- /etc/ssh/sshd_config    2017-03-09 15:33:14.899205554 +0000
  162. +++ /tmp/puppet-file20170309-2286-njugtk    2017-03-09 15:59:28.803897269 +0000
  163. @@ -1,88 +1,10 @@
  164. -# Package generated configuration file
  165. -# See the sshd_config(5) manpage for details
  166. +# File is managed by Puppet
  167.  
  168. -# What ports, IPs and protocols we listen for
  169. -Port 22
  170. -# Use these options to restrict which interfaces/protocols sshd will bind to
  171. -#ListenAddress ::
  172. -#ListenAddress 0.0.0.0
  173. -Protocol 2
  174. -# HostKeys for protocol version 2
  175. -HostKey /etc/ssh/ssh_host_rsa_key
  176. -HostKey /etc/ssh/ssh_host_dsa_key
  177. -HostKey /etc/ssh/ssh_host_ecdsa_key
  178. -HostKey /etc/ssh/ssh_host_ed25519_key
  179. -#Privilege Separation is turned on for security
  180. -UsePrivilegeSeparation yes
  181. -
  182. -# Lifetime and size of ephemeral version 1 server key
  183. -KeyRegenerationInterval 3600
  184. -ServerKeyBits 1024
  185. -
  186. -# Logging
  187. -SyslogFacility AUTH
  188. -LogLevel INFO
  189. -
  190. -# Authentication:
  191. -LoginGraceTime 120
  192. -PermitRootLogin prohibit-password
  193. -StrictModes yes
  194. -
  195. -RSAAuthentication yes
  196. -PubkeyAuthentication yes
  197. -#AuthorizedKeysFile    %h/.ssh/authorized_keys
  198. -
  199. -# Don't read the user's ~/.rhosts and ~/.shosts files
  200. -IgnoreRhosts yes
  201. -# For this to work you will also need host keys in /etc/ssh_known_hosts
  202. -RhostsRSAAuthentication no
  203. -# similar for protocol version 2
  204. -HostbasedAuthentication no
  205. -# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
  206. -#IgnoreUserKnownHosts yes
  207. -
  208. -# To enable empty passwords, change to yes (NOT RECOMMENDED)
  209. -PermitEmptyPasswords no
  210. -
  211. -# Change to yes to enable challenge-response passwords (beware issues with
  212. -# some PAM modules and threads)
  213. +AcceptEnv LANG LC_*
  214. +AllowTcpForwarding yes
  215.  ChallengeResponseAuthentication no
  216. -
  217. -# Change to no to disable tunnelled clear text passwords
  218. -#PasswordAuthentication yes
  219. -
  220. -# Kerberos options
  221. -#KerberosAuthentication no
  222. -#KerberosGetAFSToken no
  223. -#KerberosOrLocalPasswd yes
  224. -#KerberosTicketCleanup yes
  225. -
  226. -# GSSAPI options
  227. -#GSSAPIAuthentication no
  228. -#GSSAPICleanupCredentials yes
  229. -
  230. -X11Forwarding yes
  231. -X11DisplayOffset 10
  232. +PasswordAuthentication yes
  233.  PrintMotd no
  234. -PrintLastLog yes
  235. -TCPKeepAlive yes
  236. -#UseLogin no
  237. -
  238. -#MaxStartups 10:30:60
  239. -#Banner /etc/issue.net
  240. -
  241. -# Allow client to pass locale environment variables
  242. -AcceptEnv LANG LC_*
  243. -
  244.  Subsystem sftp /usr/lib/openssh/sftp-server
  245. -
  246. -# Set this to 'yes' to enable PAM authentication, account processing,
  247. -# and session processing. If this is enabled, PAM authentication will
  248. -# be allowed through the ChallengeResponseAuthentication and
  249. -# PasswordAuthentication.  Depending on your PAM configuration,
  250. -# PAM authentication via ChallengeResponseAuthentication may bypass
  251. -# the setting of "PermitRootLogin without-password".
  252. -# If you just want the PAM account and session checks to run without
  253. -# PAM authentication, then enable this but set PasswordAuthentication
  254. -# and ChallengeResponseAuthentication to 'no'.
  255.  UsePAM yes
  256. +X11Forwarding yes
  257.  
  258. Info: Computing checksum on file /etc/ssh/sshd_config
  259. Info: /Stage[main]/Ssh::Server::Config/Concat[/etc/ssh/sshd_config]/File[/etc/ssh/sshd_config]: Filebucketed /etc/ssh/sshd_config to puppet with sum bd3a2b95f8b4b180eed707794ad81e4d
  260. Notice: /Stage[main]/Ssh::Server::Config/Concat[/etc/ssh/sshd_config]/File[/etc/ssh/sshd_config]/content: content changed '{md5}bd3a2b95f8b4b180eed707794ad81e4d' to '{md5}6f617e675649bbd53ac7a176e68c4217'
  261. Notice: /Stage[main]/Ssh::Server::Config/Concat[/etc/ssh/sshd_config]/File[/etc/ssh/sshd_config]/mode: mode changed '0644' to '0600'
  262. Info: Concat[/etc/ssh/sshd_config]: Scheduling refresh of Service[ssh]
  263. Info: Class[Ssh::Server::Config]: Scheduling refresh of Class[Ssh::Server::Service]
  264. Info: Class[Ssh::Server::Service]: Scheduling refresh of Service[ssh]
  265. Notice: /Stage[main]/Ssh::Server::Service/Service[ssh]: Triggered 'refresh' from 2 events
  266. Notice: /Stage[main]/Nfs::Server::Service/Service[nfs-server]: Triggered 'refresh' from 3 events
  267. Info: Creating state file /var/lib/puppet/state/state.yaml
  268. Notice: Finished catalog run in 194.02 seconds
  269. student@x61s-11:~$ sudo puppet agent -t
  270. Info: Retrieving pluginfacts
  271. Info: Retrieving plugin
  272. Info: Loading facts
  273. Info: Caching catalog for x61s-11.res.training
  274. Info: Applying configuration version '1489075183'
  275. Notice: /Stage[main]/Main/Exec[apt-update]/returns: executed successfully
  276. Notice: /Stage[main]/Main/Exec[su - student -c "byobu-select-backend screen"]/returns: executed successfully
  277. Notice: /Stage[main]/Main/Exec[byobu-select-backend screen]/returns: executed successfully
  278. Notice: /Stage[main]/Main/Exec[service tftpd-hpa force-reload]/returns: Failed to restart tftpd-hpa.service: Unit tftpd-hpa.service not found.
  279. Error: service tftpd-hpa force-reload returned 5 instead of one of [0]
  280. Error: /Stage[main]/Main/Exec[service tftpd-hpa force-reload]/returns: change from notrun to 0 failed: service tftpd-hpa force-reload returned 5 instead of one of [0]
  281. Notice: /Stage[main]/Main/Exec[locale-gen de_AT.UTF-8]/returns: executed successfully
  282. Error: /Stage[main]/Main/File_line[someline]: Could not evaluate: No such file or directory @ rb_sysopen - /etc/default/tftpd-hpa
  283. Notice: /Stage[main]/Main/Exec[dpkg-reconfigure -f noninteractive dash]/returns: executed successfully
  284. Notice: /Stage[main]/Main/Exec[echo "dash dash/sh boolean false" | debconf-set-selections]/returns: executed successfully
  285. Notice: /Stage[main]/Main/Exec[locale-gen en_US.UTF-8]/returns: executed successfully
  286. Notice: Finished catalog run in 12.49 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement