This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| +++ read 0a5f2bb9-32eb-4376-9ef4-07e5eb9733bc admin=yes, mode=444 mask=007 admin/"admin", perms=777 (cloud-admin/cloud-admin-group) | |
| 127.0.0.1 - - [2014-12-15 09:33:57] "GET /instance-ip/0a5f2bb9-32eb-4376-9ef4-07e5eb9733bc?exclude_back_refs=True&exclude_children=True HTTP/1.1" 200 1419 0.001972 | |
| 127.0.0.1 - - [2014-12-15 09:33:57] "POST /neutron/port HTTP/1.1" 200 797 0.016406 | |
| +++ read 8f2d3432-8981-4a31-93b5-e9dcf3a5f5ba admin=yes, mode=444 mask=770 admin/"admin", perms=777 (admin/admin) | |
| 127.0.0.1 - - [2014-12-15 09:33:57] "GET /project/8f2d3432-8981-4a31-93b5-e9dcf3a5f5ba?exclude_back_refs=True&exclude_children=True HTTP/1.1" 200 899 0.006878 | |
| +++ read 8f2d3432-8981-4a31-93b5-e9dcf3a5f5ba admin=yes, mode=444 mask=770 admin/"admin", perms=777 (admin/admin) | |
| 127.0.0.1 - - [2014-12-15 09:33:58] "GET /security-groups?count=False&parent_id=8f2d3432-8981-4a31-93b5-e9dcf3a5f5ba&detail=True HTTP/1.1" 200 7099 0.005634 | |
| 127.0.0.1 - - [2014-12-15 09:33:58] "POST /neutron/security_group |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /etc/init.d/mysql:#!/bin/bash | |
| /etc/init.d/mysql:# | |
| /etc/init.d/mysql:### BEGIN INIT INFO | |
| /etc/init.d/mysql:# Provides: mysql | |
| /etc/init.d/mysql:# Required-Start: $remote_fs $syslog | |
| /etc/init.d/mysql:# Required-Stop: $remote_fs $syslog | |
| /etc/init.d/mysql:# Should-Start: $network $time | |
| /etc/init.d/mysql:# Should-Stop: $network $time | |
| /etc/init.d/mysql:# Default-Start: 2 3 4 5 | |
| /etc/init.d/mysql:# Default-Stop: 0 1 6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| trash@dump:~$ dpkg -l nginx-full | |
| Desired=Unknown/Install/Remove/Purge/Hold | |
| | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend | |
| |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) | |
| ||/ Name Version Architecture Description | |
| +++-====================================-=======================-=======================-============================================================================== | |
| ii nginx-full 1.6.1-1~dotdeb.1 amd64 nginx web/proxy server (standard version) | |
| trash@dump:~$ nginx -V | |
| nginx version: nginx/1.6.1 | |
| built by gcc 4.7.2 (Debian 4.7.2-5) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ cat hiera_facter | |
| #!/usr/bin/env python | |
| import json | |
| import re | |
| from subprocess import check_output | |
| from optparse import OptionParser | |
| def process_args(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| facter_to_hiera: | |
| #!/usr/bin/env python | |
| import json | |
| import re | |
| from subprocess import check_output | |
| from optparse import OptionParser | |
| def process_args(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ curl -u $(grep admin_user /etc/contrail/contrail-api.conf | sed -e 's/.*\= //'):$(grep admin_password /etc/contrail/contrail-api.conf | sed -e 's/.*\= //') http://localhost:8095/floating-ip/17acebf1-8720-44a5-8048-a12014bb86d2 | jq . | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root@puppet4-sandres:/tmp# dpkg -L puppet-agent | |
| /. | |
| /etc | |
| /etc/init.d | |
| /etc/init.d/mcollective | |
| /etc/init.d/puppet | |
| /etc/puppetlabs | |
| /etc/puppetlabs/mcollective | |
| /etc/puppetlabs/mcollective/facts.yaml | |
| /etc/puppetlabs/mcollective/rpc-help.erb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cat >/etc/init/delete-cloud-init.conf <<EOF | |
| description "delete-cloud-init" | |
| task | |
| # make sure cloud-init finished before deleting it | |
| start on (stopped cloud-config | |
| and stopped cloud-final) | |
| script |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ cat bin/gocloud | |
| #!/bin/sh | |
| export CLOUD_USER=$USER | |
| until ssh -o UserKnownHostsFile=/dev/null \ | |
| -o StrictHostKeyChecking=no \ | |
| -o ForwardAgent=yes \ | |
| -o ConnectTimeout=3 \ | |
| -o User=root \ | |
| -o SendEnv=CLOUD_USER \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # | |
| # Copyright 2015 c.glaubitz@syseleven.de | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # |