vdloo / simulacra

My personal decentralized grid computing network
Apache License 2.0
1 stars 0 forks source link

add rudimentary scheduler #62

Closed vdloo closed 6 years ago

vdloo commented 6 years ago

raptiformica assimilation shouldn't run configuration management anymore, that should happen afterwards. it should only place an initial checkout of the recipes on disk.

[root@host scheduler]# ./bin/transform.py --verbose
Discovering all live machines
Running configuration management on fc00:d4e0:31b6:e19:a983:e335:4569:2b26
Running configuration management on fc00:d4e0:31b6:e19:a983:e335:4569:2b26 failed, error was: (b'', b"Warning: Permanently added 'fc00:d4e0:31b6:e19:a983:e335:4569:2b26' (ECDSA) to the list of known hosts.\r\nbash: /usr/etc/puppetfiles/provisioning/papply.sh: No such file or directory\n")
Running configuration management on fc03:cced:19b5:7c78:b7e5:520d:b7e3:1357
Debug: Runtime environment: puppet_version=3.8.5, ruby_version=2.3.1, run_mode=user, default_encoding=UTF-8
Debug: Evicting cache entry for environment 'production'
Debug: Caching environment 'production' (ttl = 0 sec)
Debug: Evicting cache entry for environment 'production'
Debug: Caching environment 'production' (ttl = 0 sec)
Debug: Loading external facts from /var/lib/puppet/facts.d