- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Oct 31 2017
$ salt-call --local state.apply roles/devserver/userland-software/misc ID: /etc/make.conf Function: file.managed Result: True Comment: File /etc/make.conf is in the correct state Started: 13:06:23.718296 Duration: 77.266 ms Changes:
Client code used to test this code
Fix whiteline before class end, prune non used Composer packages
Move JSON Mapper to LogEntry
$ salt-call --local state.apply roles/devserver/userland-software/ops [ERROR ] Error installing 'manta': fs.js:768 return binding.rename(pathModule._makeLong(oldPath), ^
A CoreOS configuration taken from pillar, or prepared by Salt from Jinja2 templates in a roles/os-configurator role would be probably the best.
Oct 30 2017
Style
Oct 29 2017
Rebased against imagemagick map.jinja change
Concern fixed in rOPS7b9dab.
Simplify configuration ; it's more natural template takes care of the yes/no
Move to template (quote count: 1)
Protect yes/no to avoid substitution by a boolean
Remove akoe from revoked users
When highstate runs, it propagates the new SSL certificate for Bonjour chaton:
Works but the software itself rewrites periodically the file as 644.
Eglide highstate is correct, excepted for the PHP libraries and a former bug to the Let's encrypt timer we can solve independently.
$ salt eglide state.apply roles/shellserver/odderon/config eglide: ---------- ID: odderon_fix_permissions_and_ownership Function: cmd.run Name: chmod 640 /opt/odderon/var/darkbot/userlist.db Result: True Comment: Command "chmod 640 /opt/odderon/var/darkbot/userlist.db" run Started: 15:22:18.005520 Duration: 47.53 ms Changes: ---------- pid: 32647 retcode: 0 stderr: stdout: ---------- ID: odderon_fix_permissions_and_ownership Function: cmd.run Name: chown odderon:nasqueron-irc /opt/odderon/var/darkbot/userlist.db Result: True Comment: Command "chown odderon:nasqueron-irc /opt/odderon/var/darkbot/userlist.db" run Started: 15:22:18.054366 Duration: 40.816 ms Changes: ---------- pid: 32649 retcode: 0 stderr: stdout:
Fix cmd.run multi command syntax
$ salt-call state.apply roles/shellserver/odderon/config The function "chown odderon:nasqueron-irc /opt/odderon/var/darkbot/userlist.db" in state "odderon_fix_permissions_and_ownership" in SLS "roles/shellserver/odderon/config" has whitespace, a function with whitespace is not supported, perhaps this is an argument that is missing a ":"
Apparently, was a network issue.
$ salt eglide state.apply roles/shellserver/users … ---------- ID: group_ops Function: group.present Name: ops Result: True Comment: New group ops created Started: 00:56:24.790152 Duration: 835.725 ms Changes: ---------- gid: 3001 members: - dereckson - sandlayth name: ops passwd: x … $ salt eglide state.apply roles/core/sudo eglide: ---------- ID: /etc/sudoers.d/ops Function: file.managed Result: True Comment: File /etc/sudoers.d/ops updated Started: 01:27:44.142002 Duration: 217.149 ms Changes: ---------- diff: New file mode: 0644
Now we've a correct state
Fix syntax
Fix loop issue
ID: dereckson Function: user.present Result: True Comment: Updated user dereckson Started: 00:25:19.129254 Duration: 133.455 ms Changes: ---------- shell: /bin/zsh ---------- ID: amj Function: user.present Result: True Comment: Updated user amj Started: 00:25:19.435983 Duration: 115.81 ms Changes: ---------- shell: /bin/zsh