ungleich-learning-circle/youngjin.han/cdist.org

19 KiB

cidst #5

  • gencode-remote : is executed on the target
  • remote code : behave as if it where ssh (e.g. ssh -o User=root)
  • gencode-local : is executed locally
  • __file has gencode-local that is need to excute and debug commands

singleton / non-singleton

non-singleton needs process ID.

singletion should be carried out by itself.

verbosity

verbosity level display me cdist processing information.

'-v' is light information.

'-vv' and '-vvv' iform me more cidst processing information (e.g. debug, verbose and etc)

log : verbosity

-v

INFO: localhost: Starting configuration run INFO: localhost: Processing __apt_update_index/ INFO: localhost: Processing __motd/ INFO: localhost: Finished successful run in 2.45 seconds

-vv

VERBOSE: cdist: version 6.5.5-2-gd4059fd2 INFO: localhost: Starting configuration run VERBOSE: localhost: Running global explorers VERBOSE: localhost: Running initial manifest /tmp/tmplx_30ksy/421aa90e079fa326b6494f812ad13e79/data/conf/manifest/init VERBOSE: localhost: Preparing object __file/etc/cdist-configured VERBOSE: localhost: Running manifest and explorers for __file/etc/cdist-configured VERBOSE: localhost: Running type explorers for <CdistType __file> VERBOSE: localhost: Running object __file/etc/cdist-configured VERBOSE: localhost: Preparing object __timezone/Asia/Seoul VERBOSE: localhost: Running manifest and explorers for __timezone/Asia/Seoul VERBOSE: localhost: Running type explorers for <CdistType __timezone> VERBOSE: localhost: Running type manifest tmp/tmplx_30ksy/421aa90e079fa326b6494f812ad13e79/data/conf/type/__timezone/manifest for object __timezone/Asia/Seoul VERBOSE: localhost: Preparing object __my_computer VERBOSE: localhost: Running manifest and explorers for __my_computer/ VERBOSE: localhost: Running type explorers for <CdistType __my_computer> VERBOSE: localhost: Running type manifest tmp/tmplx_30ksy/421aa90e079fa326b6494f812ad13e79/data/conf/type/__my_computer/manifest for object __my_computer VERBOSE: localhost: Preparing object __motd/ VERBOSE: localhost: Running manifest and explorers for __motd/ VERBOSE: localhost: Running type explorers for <CdistType __motd> VERBOSE: localhost: Running type manifest tmp/tmplx_30ksy/421aa90e079fa326b6494f812ad13e79/data/conf/type/__motd/manifest for object __motd VERBOSE: localhost: Preparing object __apt_update_index/ VERBOSE: localhost: Running manifest and explorers for __apt_update_index/ VERBOSE: localhost: Running type explorers for <CdistType __apt_update_index> VERBOSE: localhost: Running object __apt_update_index/ INFO: localhost: Processing __apt_update_index/ VERBOSE: localhost: Preparing object __file/home/jafo/.emacs.d/30_agenda_config.el VERBOSE: localhost: Running manifest and explorers for __file/home/jafo/.emacs.d/30_agenda_config.el VERBOSE: localhost: Running type explorers for <CdistType __file> VERBOSE: localhost: Running object __file/home/jafo/.emacs.d/30_agenda_config.el VERBOSE: localhost: Preparing object __file/home/jafo/.emacs.d/00_global_config.el VERBOSE: localhost: Running manifest and explorers for __file/home/jafo/.emacs.d/00_global_config.el VERBOSE: localhost: Running type explorers for <CdistType __file> VERBOSE: localhost: Running object __file/home/jafo/.emacs.d/00_global_config.el VERBOSE: localhost: Preparing object __file/home/jafo/.emacs.d/10_magit_config.el VERBOSE: localhost: Running manifest and explorers for __file/home/jafo/.emacs.d/10_magit_config.el VERBOSE: localhost: Running type explorers for <CdistType __file> VERBOSE: localhost: Running object __file/home/jafo/.emacs.d/10_magit_config.el VERBOSE: localhost: Preparing object __file/home/jafo/.emacs.d/20_mu4e_config.el VERBOSE: localhost: Running manifest and explorers for __file/home/jafo/.emacs.d/20_mu4e_config.el VERBOSE: localhost: Running type explorers for <CdistType __file> VERBOSE: localhost: Running object __file/home/jafo/.emacs.d/20_mu4e_config.el VERBOSE: localhost: Preparing object __file/home/jafo/.emacs.d/init.el VERBOSE: localhost: Running manifest and explorers for __file/home/jafo/.emacs.d/init.el VERBOSE: localhost: Running type explorers for <CdistType __file> VERBOSE: localhost: Running object __file/home/jafo/.emacs.d/init.el VERBOSE: localhost: Preparing object __file/home/jafo/.emacs.d/21_smtp_config.el VERBOSE: localhost: Running manifest and explorers for __file/home/jafo/.emacs.d/21_smtp_config.el VERBOSE: localhost: Running type explorers for <CdistType __file> VERBOSE: localhost: Running object __file/home/jafo/.emacs.d/21_smtp_config.el VERBOSE: localhost: Preparing object __file/home/jafo/.emacs.d/99_custom_config.el VERBOSE: localhost: Running manifest and explorers for __file/home/jafo/.emacs.d/99_custom_config.el VERBOSE: localhost: Running type explorers for <CdistType __file> VERBOSE: localhost: Running object __file/home/jafo/.emacs.d/99_custom_config.el VERBOSE: localhost: Preparing object __file/etc/motd.tail VERBOSE: localhost: Running manifest and explorers for __file/etc/motd.tail VERBOSE: localhost: Running type explorers for <CdistType __file> VERBOSE: localhost: Running object __file/etc/motd.tail VERBOSE: localhost: Preparing object __directory/home/jafo/.emacs.d VERBOSE: localhost: Running manifest and explorers for __directory/home/jafo/.emacs.d VERBOSE: localhost: Running type explorers for <CdistType __directory> VERBOSE: localhost: Running object __directory/home/jafo/.emacs.d VERBOSE: localhost: Preparing object __package/tzdata VERBOSE: localhost: Running manifest and explorers for __package/tzdata VERBOSE: localhost: Running type explorers for <CdistType __package> VERBOSE: localhost: Running type manifest tmp/tmplx_30ksy/421aa90e079fa326b6494f812ad13e79/data/conf/type/__package/manifest for object __package/tzdata VERBOSE: localhost: Running object __my_computer VERBOSE: localhost: Running object __motd/ INFO: localhost: Processing __motd/ VERBOSE: localhost: Preparing object __package_apt/tzdata VERBOSE: localhost: Running manifest and explorers for __package_apt/tzdata VERBOSE: localhost: Running type explorers for <CdistType __package_apt> VERBOSE: localhost: Running object __package_apt/tzdata VERBOSE: localhost: Running object __package/tzdata VERBOSE: localhost: Preparing object __link/etc/localtime VERBOSE: localhost: Running manifest and explorers for __link/etc/localtime VERBOSE: localhost: Running type explorers for <CdistType __link> VERBOSE: localhost: Running object __link/etc/localtime VERBOSE: localhost: Running object __timezone/Asia/Seoul INFO: localhost: Finished successful run in 2.42 seconds VERBOSE: config: Total processing time for 1 host(s): 2.424041986465454

-vvv

VERBOSE: cdist: version 6.5.5-2-gd4059fd2 DEBUG: inventory: Host 'localhost' not found, skipped DEBUG: config: Base root path for target host "localhost" is "/tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79" DEBUG: localhost: remote_exec for host "localhost": ssh -o User=root -o ControlPath=/tmp/tmppv2p77_1/s -o ControlMaster=auto -o ControlPersist=2h DEBUG: localhost: remote_copy for host "localhost": scp -o User=root -q -o ControlPath=/tmp/tmppv2p77_1/s -o ControlMaster=auto -o ControlPersist=2h DEBUG: localhost: address family: 0 DEBUG: localhost: derived host_name for host "localhost": localhost DEBUG: localhost: derived host_fqdn for host "localhost": localhost DEBUG: localhost: target_host for host "localhost": ('localhost', 'localhost', 'localhost') INFO: localhost: Starting configuration run DEBUG: localhost: Checking conf_dir usr/local/lib/python3.5/dist-packages/cdist/conf … DEBUG: localhost: Checking conf_dir /home/jafo.cdist … DEBUG: localhost: Checking conf_dir home/jafo/ungleich-learning-circle/youngjin.han/dot-cdist … VERBOSE: localhost: Running global explorers DEBUG: localhost: Running global explorers sequentially VERBOSE: localhost: Running initial manifest /tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/manifest/init DEBUG: localhost: /tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/manifest/init is NOT executable, running it with /bin/sh -e DEBUG: localhost: Iteration in sequential mode VERBOSE: localhost: Preparing object __file/etc/cdist-configured VERBOSE: localhost: Running manifest and explorers for __file/etc/cdist-configured VERBOSE: localhost: Running type explorers for <CdistType __file> VERBOSE: localhost: Running object __file/etc/cdist-configured DEBUG: localhost: Generating code for __file/etc/cdist-configured DEBUG: localhost: /tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__file/gencode-local is NOT executable, running it with /bin/sh -e DEBUG: localhost: /tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__file/gencode-remote is NOT executable, running it with /bin/sh -e VERBOSE: localhost: Preparing object __timezone/Asia/Seoul VERBOSE: localhost: Running manifest and explorers for __timezone/Asia/Seoul VERBOSE: localhost: Running type explorers for <CdistType __timezone> VERBOSE: localhost: Running type manifest /tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__timezone/manifest for object __timezone/Asia/Seoul DEBUG: localhost: tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__timezone/manifest is NOT executable, running it with /bin/sh -e VERBOSE: localhost: Preparing object __my_computer VERBOSE: localhost: Running manifest and explorers for __my_computer/ VERBOSE: localhost: Running type explorers for <CdistType __my_computer> VERBOSE: localhost: Running type manifest tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__my_computer/manifest for object __my_computer DEBUG: localhost: tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__my_computer/manifest is executable, running it VERBOSE: localhost: Preparing object __motd VERBOSE: localhost: Running manifest and explorers for __motd/ VERBOSE: localhost: Running type explorers for <CdistType __motd> VERBOSE: localhost: Running type manifest tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__motd/manifest for object __motd DEBUG: localhost: /tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__motd/manifest is NOT executable, running it with /bin/sh -e DEBUG: localhost: Iteration in sequential mode VERBOSE: localhost: Preparing object __apt_update_index/ VERBOSE: localhost: Running manifest and explorers for __apt_update_index/ VERBOSE: localhost: Running type explorers for <CdistType __apt_update_index> VERBOSE: localhost: Running object __apt_update_index/ DEBUG: localhost: Generating code for __apt_update_index/ DEBUG: localhost: tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__apt_update_index/gencode-remote is NOT executable, running it with /bin/sh -e INFO: localhost: Processing __apt_update_index VERBOSE: localhost: Preparing object __file/home/jafo/.emacs.d/30_agenda_config.el VERBOSE: localhost: Running manifest and explorers for __file/home/jafo/.emacs.d/30_agenda_config.el VERBOSE: localhost: Running type explorers for <CdistType __file> VERBOSE: localhost: Running object __file/home/jafo/.emacs.d/30_agenda_config.el DEBUG: localhost: Generating code for __file/home/jafo/.emacs.d/30_agenda_config.el DEBUG: localhost: /tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__file/gencode-local is NOT executable, running it with /bin/sh -e DEBUG: localhost: tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__file/gencode-remote is NOT executable, running it with /bin/sh -e VERBOSE: localhost: Preparing object __file/home/jafo.emacs.d/00_global_config.el VERBOSE: localhost: Running manifest and explorers for __file/home/jafo/.emacs.d/00_global_config.el VERBOSE: localhost: Running type explorers for <CdistType __file> VERBOSE: localhost: Running object __file/home/jafo/.emacs.d/00_global_config.el DEBUG: localhost: Generating code for __file/home/jafo/.emacs.d/00_global_config.el DEBUG: localhost: /tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__file/gencode-local is NOT executable, running it with /bin/sh -e DEBUG: localhost: tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__file/gencode-remote is NOT executable, running it with /bin/sh -e VERBOSE: localhost: Preparing object __file/home/jafo.emacs.d/10_magit_config.el VERBOSE: localhost: Running manifest and explorers for __file/home/jafo/.emacs.d/10_magit_config.el VERBOSE: localhost: Running type explorers for <CdistType __file> VERBOSE: localhost: Running object __file/home/jafo/.emacs.d/10_magit_config.el DEBUG: localhost: Generating code for __file/home/jafo/.emacs.d/10_magit_config.el DEBUG: localhost: /tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__file/gencode-local is NOT executable, running it with /bin/sh -e DEBUG: localhost: tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__file/gencode-remote is NOT executable, running it with /bin/sh -e VERBOSE: localhost: Preparing object __file/home/jafo.emacs.d/20_mu4e_config.el VERBOSE: localhost: Running manifest and explorers for __file/home/jafo/.emacs.d/20_mu4e_config.el VERBOSE: localhost: Running type explorers for <CdistType __file> VERBOSE: localhost: Running object __file/home/jafo/.emacs.d/20_mu4e_config.el DEBUG: localhost: Generating code for __file/home/jafo/.emacs.d/20_mu4e_config.el DEBUG: localhost: /tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__file/gencode-local is NOT executable, running it with /bin/sh -e DEBUG: localhost: tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__file/gencode-remote is NOT executable, running it with /bin/sh -e VERBOSE: localhost: Preparing object __file/home/jafo.emacs.d/init.el VERBOSE: localhost: Running manifest and explorers for __file/home/jafo/.emacs.d/init.el VERBOSE: localhost: Running type explorers for <CdistType __file> VERBOSE: localhost: Running object __file/home/jafo/.emacs.d/init.el DEBUG: localhost: Generating code for __file/home/jafo/.emacs.d/init.el DEBUG: localhost: /tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__file/gencode-local is NOT executable, running it with /bin/sh -e DEBUG: localhost: tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__file/gencode-remote is NOT executable, running it with /bin/sh -e VERBOSE: localhost: Preparing object __file/home/jafo.emacs.d/21_smtp_config.el VERBOSE: localhost: Running manifest and explorers for __file/home/jafo/.emacs.d/21_smtp_config.el VERBOSE: localhost: Running type explorers for <CdistType __file> VERBOSE: localhost: Running object __file/home/jafo/.emacs.d/21_smtp_config.el DEBUG: localhost: Generating code for __file/home/jafo/.emacs.d/21_smtp_config.el DEBUG: localhost: /tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__file/gencode-local is NOT executable, running it with /bin/sh -e DEBUG: localhost: tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__file/gencode-remote is NOT executable, running it with /bin/sh -e VERBOSE: localhost: Preparing object __file/home/jafo.emacs.d/99_custom_config.el VERBOSE: localhost: Running manifest and explorers for __file/home/jafo/.emacs.d/99_custom_config.el VERBOSE: localhost: Running type explorers for <CdistType __file> VERBOSE: localhost: Running object __file/home/jafo/.emacs.d/99_custom_config.el DEBUG: localhost: Generating code for __file/home/jafo/.emacs.d/99_custom_config.el DEBUG: localhost: /tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__file/gencode-local is NOT executable, running it with /bin/sh -e DEBUG: localhost: /tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__file/gencode-remote is NOT executable, running it with /bin/sh -e VERBOSE: localhost: Preparing object __file/etc/motd.tail VERBOSE: localhost: Running manifest and explorers for __file/etc/motd.tail VERBOSE: localhost: Running type explorers for <CdistType __file> VERBOSE: localhost: Running object __file/etc/motd.tail DEBUG: localhost: Generating code for __file/etc/motd.tail DEBUG: localhost: /tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__file/gencode-local is NOT executable, running it with /bin/sh -e DEBUG: localhost: tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__file/gencode-remote is NOT executable, running it with /bin/sh -e VERBOSE: localhost: Preparing object __directory/home/jafo.emacs.d VERBOSE: localhost: Running manifest and explorers for __directory/home/jafo/.emacs.d VERBOSE: localhost: Running type explorers for <CdistType __directory> VERBOSE: localhost: Running object __directory/home/jafo/.emacs.d DEBUG: localhost: Generating code for __directory/home/jafo/.emacs.d DEBUG: localhost: /tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__directory/gencode-remote is NOT executable, running it with /bin/sh -e VERBOSE: localhost: Preparing object __package/tzdata VERBOSE: localhost: Running manifest and explorers for __package/tzdata VERBOSE: localhost: Running type explorers for <CdistType __package> VERBOSE: localhost: Running type manifest /tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__package/manifest for object __package/tzdata DEBUG: localhost: tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__package/manifest is NOT executable, running it with /bin/sh -e VERBOSE: localhost: Running object __my_computer DEBUG: localhost: Generating code for __my_computer/ VERBOSE: localhost: Running object __motd/ DEBUG: localhost: Generating code for __motd/ DEBUG: localhost: tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__motd/gencode-remote is NOT executable, running it with /bin/sh -e INFO: localhost: Processing __motd DEBUG: localhost: Iteration in sequential mode VERBOSE: localhost: Preparing object __package_apt/tzdata VERBOSE: localhost: Running manifest and explorers for __package_apt/tzdata VERBOSE: localhost: Running type explorers for <CdistType __package_apt> VERBOSE: localhost: Running object __package_apt/tzdata DEBUG: localhost: Generating code for __package_apt/tzdata DEBUG: localhost: /tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__package_apt/gencode-remote is NOT executable, running it with /bin/sh -e DEBUG: localhost: Iteration in sequential mode VERBOSE: localhost: Running object __package/tzdata DEBUG: localhost: Generating code for __package/tzdata DEBUG: localhost: Iteration in sequential mode VERBOSE: localhost: Preparing object __link/etc/localtime VERBOSE: localhost: Running manifest and explorers for __link/etc/localtime VERBOSE: localhost: Running type explorers for <CdistType __link> VERBOSE: localhost: Running object __link/etc/localtime DEBUG: localhost: Generating code for __link/etc/localtime DEBUG: localhost: /tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__link/gencode-remote is NOT executable, running it with /bin/sh -e VERBOSE: localhost: Running object __timezone/Asia/Seoul DEBUG: localhost: Generating code for __timezone/Asia/Seoul DEBUG: localhost: /tmp/tmp4qn81ovh/421aa90e079fa326b6494f812ad13e79/data/conf/type/__timezone/gencode-remote is NOT executable, running it with /bin/sh -e DEBUG: localhost: Iteration in sequential mode DEBUG: localhost: Running cleanup commands Exit request sent. DEBUG: localhost: cache subpath: 421aa90e079fa326b6494f812ad13e79 INFO: localhost: Finished successful run in 2.47 seconds VERBOSE: config: Total processing time for 1 host(s): 2.4723527431488037