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
| # puppet agent --parser=future -t --environment=future_parser | |
| Info: Retrieving pluginfacts | |
| Info: Retrieving plugin | |
| Info: Loading facts in /var/lib/puppet/lib/facter/ip6tables_version.rb | |
| Info: Loading facts in /var/lib/puppet/lib/facter/apt_reboot_required.rb | |
| Info: Loading facts in /var/lib/puppet/lib/facter/service_provider.rb | |
| Info: Loading facts in /var/lib/puppet/lib/facter/apt_update_last_success.rb | |
| Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb | |
| Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb | |
| Info: Loading facts in /var/lib/puppet/lib/facter/apt_updates.rb |
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
| Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Only subclasses can override parameters at 13:/etc/puppet/environments/production/modules/myclass/manifests/init.pp on node host1.some.com | |
| Warning: Not using cache on failed catalog | |
| Error: Could not retrieve catalog; skipping run |
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
| from kafka import KafkaConsumer | |
| from kafka.structs import TopicPartition | |
| import argparse | |
| import os | |
| KAFKA_SERVER='kafka.server.com' | |
| KAFKA_PORT=9092 | |
| SVN_TOPIC='svnevent' |
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
| # hiera --hash networking.network environment=net_config clientcert='my.host.com' | |
| nil | |
| # hiera --hash networking environment=net_config clientcert='my.host.com' | |
| {"mac_interfaces"=> | |
| {"20:60:90:00:C0:40"=> | |
| {"ipaddress"=>"10.3.1.2", | |
| "enable"=>true, | |
| "ensure"=>"present", | |
| "bootproto"=>"static", | |
| "netmask"=>"255.255.255.0"}}, |
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
| # docker-compose -f compose-file config: | |
| mailman-core: | |
| container_name: mailman-core | |
| depends_on: | |
| - database | |
| environment: | |
| DATABASE_CLASS: mailman.database.postgresql.PostgreSQLDatabase | |
| DATABASE_TYPE: postgres | |
| DATABASE_URL: postgres://mailman:mailmanpass@database/mailmandb | |
| DB_NAME: mailmandb |
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
| Jan 10 16:25:39 2018 (92) Connection to HyperKitty failed: ("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer')) | |
| Jan 10 16:25:39 2018 (92) Exception in the HyperKitty archiver: ("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer')) | |
| Jan 10 16:25:39 2018 (92) Traceback (most recent call last): | |
| File "/usr/local/lib/python3.6/site-packages/urllib3/response.py", line 302, in _error_catcher | |
| yield | |
| File "/usr/local/lib/python3.6/site-packages/urllib3/response.py", line 384, in read | |
| data = self._fp.read(amt) | |
| File "/usr/local/lib/python3.6/http/client.py", line 449, in read | |
| n = self.readinto(b) | |
| File "/usr/local/lib/python3.6/http/client.py", line 493, in readinto |
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
| define compose_setup( | |
| $compose_source_repo, | |
| $compose_source_revision, | |
| $compose_deploy_dir, | |
| $compose_ensure='present', | |
| $compose_file='docker-compose.yml', | |
| $compose_identity=undef, | |
| $compose_stage_dir=undef, | |
| $compose_source_repo_force=false, | |
| $compose_ensure='latest', |
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
| - hosts: puppetmaster | |
| tasks: | |
| - name: stop master puppet | |
| service: name=httpd state=stopped | |
| tags: | |
| - master | |
| - service | |
| - stop | |
| - name: kill remaining httpd process |
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
| # Generated by Powerlevel10k configuration wizard on 2020-09-25 at 12:05 MDT. | |
| # Based on romkatv/powerlevel10k/config/p10k-classic.zsh, checksum 49789. | |
| # Wizard options: powerline, classic, unicode, dark, 24h time, angled separators, | |
| # blurred heads, flat tails, 2 lines, disconnected, left frame, compact, concise, | |
| # transient_prompt, instant_prompt=verbose. | |
| # Type `p10k configure` to generate another config. | |
| # | |
| # Config for Powerlevel10k with classic powerline prompt style. Type `p10k configure` to generate | |
| # your own config based on it. | |
| # |