I hereby claim:
- I am eedgar on github.
- I am eedgar (https://keybase.io/eedgar) on keybase.
- I have a public key ASBkLwLrGNimID3B4WeKfeyycjXUCLLcXAXYfMvpgJGATQo
To claim this, I am signing this object:
| write_files: | |
| - path: '/tmp/x' | |
| content: '!ansible-generic' | |
| groups: | |
| - docker | |
| users: | |
| - name: eedgar | |
| ssh-authorized-keys: |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| config_file='/agentportal/instance/setup.txt' | |
| if [ ! -e ${config_file} ]; | |
| then | |
| echo "Running fresh install" | |
| NOTSET=0 | |
| portalpath={{getContext . "portalpath_host"}} | |
| portalpass={{getContext . "portalpass"}} | |
| zenosshost={{getContext . "zenoss_host"}} |
| A temporary fix for this until the 5.0.6 release is to download the attached pynetsnmp package (or grab it from http://zenpip.zendev.org/packages/pynetsnmp-0.40.0.tar.gz), extract it to somewhere (in this case it was /home/rmatte), rename the extracted directory to pynetsnmp, then do... | |
| mkdir /tmp/zentrap_fix and copy the files into there. | |
| [root@zenoss5lab rmatte]# serviced service shell --mount '/tmp/zentrap_fix,/pynetsnmp' -i -s mychange zentrap bash | |
| [root@bfbd8ee175c2 pynetsnmp]# cd /opt/zenoss/lib/python2.7/site-packages/ | |
| [root@bfbd8ee175c2 site-packages]# mv pynetsnmp /tmp | |
| [root@bfbd8ee175c2 site-packages]# mv /pynetsnmp/pynetsnmp . | |
| [root@bfbd8ee175c2 site-packages]# chown zenoss:zenoss pynetsnmp | |
| [root@bfbd8ee175c2 ~]# exit | |
| [root@zenoss5lab rmatte]# serviced snapshot commit mychange |
| from __future__ import with_statement | |
| import snack, ipaddr, optparse, re, shlex | |
| parser = optparse.OptionParser() | |
| parser.add_option('--no-cancel', action='store_true', dest='no_cancel', help='Do not display a cancel button') | |
| parser.add_option('--title', action='store', dest='title', default='Configure Networking', help='set the form title') | |
| parser.add_option('--interface', action='store', dest='interface', default='eth0', help='interface to edit') | |
| parser.add_option('--interfaces-file', action='store', dest='interfaces_file', default='/etc/network/interfaces', help='target interfaces file to edit') | |
| parser.add_option('--dns-file', action='store', dest='dns_file', default='/etc/resolvconf/resolv.conf.d/base', help='target dns file to edit') |
| private_network{"ip"=>"192.168.20.3"}/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/kernel_v2/config/vm.rb:226:in `network': wrong number of arguments (2 for 1) (ArgumentError) | |
| from /home/eedgar/git/vagrant/Vagrantfile:80:in `block (4 levels) in <top (required)>' | |
| from /home/eedgar/git/vagrant/Vagrantfile:77:in `each' | |
| from /home/eedgar/git/vagrant/Vagrantfile:77:in `block (3 levels) in <top (required)>' | |
| from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/v2/loader.rb:37:in `call' | |
| from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/v2/loader.rb:37:in `load' | |
| from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:103:in `block (2 levels) in load' | |
| from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:97:in `each' | |
| from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:97:in `block in load' | |
| from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:94:in `each' |
| fileserver_backend: | |
| - git | |
| - roots | |
| gitfs_provider: gitpython | |
| gitfs_remotes: | |
| - git+ssh://[email protected]/volume1/git/rephunter-saltmaster-dev.git | |
| - https://github.com/eedgar/users-formula.git | |
| - https://github.com/eedgar/salt-formula.git | |
| ext_pillar: |
| from Products.ZenMessaging.audit import audit | |
| auditData = { | |
| 'TransactionId': newId, | |
| 'uid': uid, | |
| 'url': url, | |
| 'user': user, | |
| 'realm': realm, | |
| 'data': something_custom, | |
| 'agent': agent, |
| -----BEGIN PGP PUBLIC KEY BLOCK----- | |
| Version: GnuPG v2 | |
| mQHhBFSRplYBDqCeBPwMbUjcMDfY//JKeam3eMFEtr5DY25UfsxWQNZTTkMGXmUK | |
| T+uY1FFCbTVDYBbH8qNM5P/5DjUZ1ezEYW1RuumsjsMGDjhs2b0UBiJdwcNNAJ7y | |
| pP2pbh61z0a8W2UooanFPH38fOHOQa2BjuNW3WurniGKemxUXkl433QTbIAznyhN | |
| 83lQ1/ki72z/3pR6uUtOmktQQg86akUwu5fSRIvWwKlb3IXIL2EoD2zU3o+vVA08 | |
| OgypCnuQpBb9Xhs7DfrSB2coif6+rvTsyPMQRyoqN7AM5lzq/xJjENmm7afrdais | |
| JCD6zdwJo2fyrz/Z3HLLygGVnpd9TOycKmbUsK5QFBbrEvvrvLBKBd0yflqVVfCu | |
| sXPat15BO9N2JqiOE22A2RkjB3UvDmHvh6oYJ/3wofo+XSzQ4diTjRbkItTkwaJ4 |
| cd /usr/ports/shells/bash | |
| update the Makefile | |
| PATCHLEVEL= 15 | |
| run make makesum | |
| make deinstall | |
| make reinstall |