Skip to content

Instantly share code, notes, and snippets.

@vinyar
Created July 2, 2015 22:23
Show Gist options
  • Save vinyar/e504ec80d512f6297de2 to your computer and use it in GitHub Desktop.
Save vinyar/e504ec80d512f6297de2 to your computer and use it in GitHub Desktop.
post bootstrap first run error - Error connecting to https://s3-external-1.amazonaws.com/opscode-platform-product
login as: chef
[email protected]'s password:
Last login: Tue Jun 2 10:54:38 2015 from 38.104.1.242
_______________
/ ___/ __/_ __/
/ (_ / _/ / /
\___/___/ /_/
_______ ___________
/ __/ _ \/ __/ __/ _ \
_\ \/ ___/ _// _// // /
/___/_/ /___/___/____/
___ ___ _____
/ __| __|_ _|
| (_ | _| | |
\___|___| |_|
___ _____ ___ ___ __ __ ___
/_\ \ / / __/ __|/ _ \| \/ | __|
/ _ \ \/\/ /| _|\__ \ (_) | |\/| | _|
/_/ \_\_/\_/ |___|___/\___/|_| |_|___|
_____ ____ ______
/ ___// __//_ __/
/ (_ // _/ / /
\___//___/ /_/
_____ __ __ ____ ____ __
/ ___// // // __// __// /
/ /__ / _ // _/ / _/ /_/
\___//_//_//___//_/ (_)
[chef@CentOS63 ~]$ ls
[chef@CentOS63 ~]$ ls /etc/chef
client.pem client.rb first-boot.json trusted_certs validation.pem
[chef@CentOS63 ~]$ which chef-client
/usr/bin/chef-client
[chef@CentOS63 ~]$ chef-client -v
Chef: 11.12.8
[chef@CentOS63 ~]$ sudo chef-client -l info
[2015-06-02T10:59:22-04:00] INFO: Forking chef instance to converge...
[2015-06-02T10:59:22-04:00] WARN:
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
SSL validation of HTTPS requests is disabled. HTTPS connections are still
encrypted, but chef is not able to detect forged replies or man in the middle
attacks.
To fix this issue add an entry like this to your configuration file:
```
# Verify all HTTPS connections (recommended)
ssl_verify_mode :verify_peer
# OR, Verify only connections to chef-server
verify_api_cert true
```
To check your SSL configuration, or troubleshoot errors, you can use the
`knife ssl check` command like so:
```
knife ssl check -c /etc/chef/client.rb
```
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Starting Chef Client, version 11.12.8
[2015-06-02T10:59:22-04:00] INFO: *** Chef 11.12.8 ***
[2015-06-02T10:59:22-04:00] INFO: Chef-client pid: 42244
[2015-06-02T10:59:56-04:00] INFO: Run List is [role[web]]
[2015-06-02T10:59:56-04:00] INFO: Run List expands to [chef-client::delete_valid ation, chef-client, ntp, motd, users, apache]
[2015-06-02T10:59:56-04:00] INFO: Starting Chef Run for node1
[2015-06-02T10:59:56-04:00] INFO: Running start handlers
[2015-06-02T10:59:56-04:00] INFO: Start handlers complete.
resolving cookbooks for run list: ["chef-client::delete_validation", "chef-clien t", "ntp", "motd", "users", "apache"]
[2015-06-02T10:59:56-04:00] INFO: Loading cookbooks [[email protected], [email protected], l [email protected], [email protected], [email protected], [email protected], [email protected], [email protected] , [email protected], [email protected]]
Synchronizing Cookbooks:
[2015-06-02T10:59:57-04:00] INFO: Storing updated cookbooks/apache/recipes/defau lt.rb in the cache.
[2015-06-02T10:59:57-04:00] INFO: Storing updated cookbooks/apache/recipes/ip-lo gger.rb in the cache.
[2015-06-02T10:59:57-04:00] INFO: Storing updated cookbooks/apache/attributes/de fault.rb in the cache.
[2015-06-02T10:59:57-04:00] INFO: Storing updated cookbooks/apache/CHANGELOG.md in the cache.
[2015-06-02T10:59:57-04:00] INFO: Storing updated cookbooks/apache/metadata.rb i n the cache.
[2015-06-02T10:59:58-04:00] INFO: Storing updated cookbooks/apache/README.md in the cache.
- apache
[2015-06-02T10:59:58-04:00] INFO: Storing updated cookbooks/cron/resources/d.rb in the cache.
[2015-06-02T10:59:58-04:00] INFO: Storing updated cookbooks/cron/providers/d.rb in the cache.
[2015-06-02T10:59:58-04:00] INFO: Storing updated cookbooks/cron/recipes/default .rb in the cache.
[2015-06-02T10:59:58-04:00] INFO: Storing updated cookbooks/cron/recipes/test.rb in the cache.
[2015-06-02T10:59:59-04:00] INFO: Storing updated cookbooks/cron/CHANGELOG.md in the cache.
[2015-06-02T10:59:59-04:00] INFO: Storing updated cookbooks/cron/metadata.json i n the cache.
[2015-06-02T10:59:59-04:00] INFO: Storing updated cookbooks/cron/metadata.rb in the cache.
[2015-06-02T10:59:59-04:00] INFO: Storing updated cookbooks/cron/README.md in th e cache.
- cron
[2015-06-02T10:59:59-04:00] INFO: Storing updated cookbooks/logrotate/recipes/de fault.rb in the cache.
[2015-06-02T10:59:59-04:00] INFO: Storing updated cookbooks/logrotate/recipes/gl obal.rb in the cache.
[2015-06-02T11:00:00-04:00] INFO: Storing updated cookbooks/logrotate/definition s/logrotate_app.rb in the cache.
[2015-06-02T11:00:00-04:00] INFO: Storing updated cookbooks/logrotate/libraries/ logrotate_config.rb in the cache.
[2015-06-02T11:00:00-04:00] INFO: Storing updated cookbooks/logrotate/attributes /default.rb in the cache.
[2015-06-02T11:00:00-04:00] INFO: Storing updated cookbooks/logrotate/CHANGELOG. md in the cache.
[2015-06-02T11:00:00-04:00] INFO: Storing updated cookbooks/logrotate/metadata.j son in the cache.
[2015-06-02T11:00:01-04:00] INFO: Storing updated cookbooks/logrotate/metadata.r b in the cache.
[2015-06-02T11:00:01-04:00] INFO: Storing updated cookbooks/logrotate/README.md in the cache.
- logrotate
[2015-06-02T11:00:01-04:00] INFO: Storing updated cookbooks/motd/recipes/default .rb in the cache.
[2015-06-02T11:00:01-04:00] INFO: Storing updated cookbooks/motd/attributes/defa ult.rb in the cache.
[2015-06-02T11:00:01-04:00] INFO: Storing updated cookbooks/motd/CHANGELOG.md in the cache.
[2015-06-02T11:00:02-04:00] INFO: Storing updated cookbooks/motd/metadata.rb in the cache.
[2015-06-02T11:00:02-04:00] INFO: Storing updated cookbooks/motd/README.md in th e cache.
- motd
[2015-06-02T11:00:02-04:00] INFO: Storing updated cookbooks/ntp/recipes/apparmor .rb in the cache.
[2015-06-02T11:00:02-04:00] INFO: Storing updated cookbooks/ntp/recipes/default. rb in the cache.
[2015-06-02T11:00:03-04:00] INFO: Storing updated cookbooks/ntp/recipes/undo.rb in the cache.
[2015-06-02T11:00:03-04:00] INFO: Storing updated cookbooks/ntp/recipes/windows_ client.rb in the cache.
[2015-06-02T11:00:03-04:00] INFO: Storing updated cookbooks/ntp/attributes/defau lt.rb in the cache.
[2015-06-02T11:00:03-04:00] INFO: Storing updated cookbooks/ntp/CHANGELOG.md in the cache.
[2015-06-02T11:00:03-04:00] INFO: Storing updated cookbooks/ntp/metadata.json in the cache.
[2015-06-02T11:00:03-04:00] INFO: Storing updated cookbooks/ntp/metadata.rb in t he cache.
[2015-06-02T11:00:04-04:00] INFO: Storing updated cookbooks/ntp/README.md in the cache.
- ntp
[2015-06-02T11:00:04-04:00] INFO: Storing updated cookbooks/pci/recipes/default. rb in the cache.
[2015-06-02T11:00:04-04:00] INFO: Storing updated cookbooks/pci/attributes/defau lt.rb in the cache.
[2015-06-02T11:00:04-04:00] INFO: Storing updated cookbooks/pci/CHANGELOG.md in the cache.
[2015-06-02T11:00:04-04:00] INFO: Storing updated cookbooks/pci/metadata.rb in t he cache.
[2015-06-02T11:00:04-04:00] INFO: Storing updated cookbooks/pci/README.md in the cache.
- pci
[2015-06-02T11:00:05-04:00] INFO: Storing updated cookbooks/users/recipes/defaul t.rb in the cache.
================================================================================
Error Syncing Cookbooks:
================================================================================
Networking Error:
-----------------
Error connecting to https://s3-external-1.amazonaws.com/opscode-platform-product
ion-data/organization-59277e50ae146aac68045aba56617f82/checksum-3e5c81434fb299ba 1a3350a72aacc7ff?AWSAccessKeyId=AKIAIQKPG2CTSTRVDO4Q&Expires=1433260800&Signatur e=XlmxS8IvgLNbDWv9tCtRsruY0OY%3D - getaddrinfo: Name or service not known
Your chef_server_url may be misconfigured, or the network could be down.
Relevant Config Settings:
-------------------------
chef_server_url "https://api.opscode.com/organizations/flagellum"
Running handlers:
[2015-06-02T11:00:25-04:00] ERROR: Running exception handlers
Running handlers complete
[2015-06-02T11:00:25-04:00] ERROR: Exception handlers complete
[2015-06-02T11:00:25-04:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-sta cktrace.out
Chef Client failed. 0 resources updated in 62.313439112 seconds
[2015-06-02T11:00:25-04:00] INFO: Sending resource update report (run-id: 56b176 2e-0d93-4aa2-8205-e8be5ff099ac)
[2015-06-02T11:00:45-04:00] ERROR: Error connecting to https://api.opscode.com/organizations/flagellum/reports/nodes/node1/runs/56b1762e- 0d93-4aa2-8205-e8be5ff099ac - getaddrinfo: Name or service not known
[2015-06-02T11:00:45-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
[chef@CentOS63 ~]$ clear
[chef@CentOS63 ~]$ sudo chef-client -l info
[2015-06-02T11:01:07-04:00] INFO: Forking chef instance to converge...
[2015-06-02T11:01:07-04:00] WARN:
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
SSL validation of HTTPS requests is disabled. HTTPS connections are still
encrypted, but chef is not able to detect forged replies or man in the middle
attacks.
To fix this issue add an entry like this to your configuration file:
```
# Verify all HTTPS connections (recommended)
ssl_verify_mode :verify_peer
# OR, Verify only connections to chef-server
verify_api_cert true
```
To check your SSL configuration, or troubleshoot errors, you can use the
`knife ssl check` command like so:
```
knife ssl check -c /etc/chef/client.rb
```
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Starting Chef Client, version 11.12.8
[2015-06-02T11:01:07-04:00] INFO: *** Chef 11.12.8 ***
[2015-06-02T11:01:07-04:00] INFO: Chef-client pid: 42418
================================================================================
Chef encountered an error attempting to load the node data for "node1"
================================================================================
Networking Error:
-----------------
Error connecting to https://api.opscode.com/organizations/flagellum/nodes/node1 - getaddrinfo: Name or service not known
Your chef_server_url may be misconfigured, or the network could be down.
Relevant Config Settings:
-------------------------
chef_server_url "https://api.opscode.com/organizations/flagellum"
[2015-06-02T11:01:50-04:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated in 42.390512823 seconds
[2015-06-02T11:01:50-04:00] ERROR: Error connecting to https://api.opscode.com/organizations/flagellum/nodes/node1 - getaddrinfo: Name or service not known
[2015-06-02T11:01:50-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
[chef@CentOS63 ~]$ https://api.opscode.com/organizations/flagellum/nodes/node1
-bash: https://api.opscode.com/organizations/flagellum/nodes/node1: No such file or directory
[chef@CentOS63 ~]$ sudo chef-client -l info
[2015-06-02T11:02:33-04:00] INFO: Forking chef instance to converge...
[2015-06-02T11:02:33-04:00] WARN:
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
SSL validation of HTTPS requests is disabled. HTTPS connections are still
encrypted, but chef is not able to detect forged replies or man in the middle
attacks.
To fix this issue add an entry like this to your configuration file:
```
# Verify all HTTPS connections (recommended)
ssl_verify_mode :verify_peer
# OR, Verify only connections to chef-server
verify_api_cert true
```
To check your SSL configuration, or troubleshoot errors, you can use the
`knife ssl check` command like so:
```
knife ssl check -c /etc/chef/client.rb
```
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Starting Chef Client, version 11.12.8
[2015-06-02T11:02:33-04:00] INFO: *** Chef 11.12.8 ***
[2015-06-02T11:02:33-04:00] INFO: Chef-client pid: 42574
================================================================================
Error expanding the run_list:
================================================================================
Networking Error:
-----------------
Error connecting to https://api.opscode.com/organizations/flagellum/roles/base - getaddrinfo: Name or service not known
Your chef_server_url may be misconfigured, or the network could be down.
[2015-06-02T11:02:59-04:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated in 25.520189972 seconds
[2015-06-02T11:02:59-04:00] ERROR: Error connecting to https://api.opscode.com/organizations/flagellum/roles/base - getaddrinfo: Name or service not known
[2015-06-02T11:02:59-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
[chef@CentOS63 ~]$ sudo chef-client -l info
[2015-06-02T11:04:02-04:00] INFO: Forking chef instance to converge...
[2015-06-02T11:04:02-04:00] WARN:
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
SSL validation of HTTPS requests is disabled. HTTPS connections are still
encrypted, but chef is not able to detect forged replies or man in the middle
attacks.
To fix this issue add an entry like this to your configuration file:
```
# Verify all HTTPS connections (recommended)
ssl_verify_mode :verify_peer
# OR, Verify only connections to chef-server
verify_api_cert true
```
To check your SSL configuration, or troubleshoot errors, you can use the
`knife ssl check` command like so:
```
knife ssl check -c /etc/chef/client.rb
```
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Starting Chef Client, version 11.12.8
[2015-06-02T11:04:02-04:00] INFO: *** Chef 11.12.8 ***
[2015-06-02T11:04:02-04:00] INFO: Chef-client pid: 42727
[2015-06-02T11:04:05-04:00] INFO: Run List is [role[web]]
[2015-06-02T11:04:05-04:00] INFO: Run List expands to [chef-client::delete_validation, chef-client, ntp, motd, users, apache]
[2015-06-02T11:04:05-04:00] INFO: Starting Chef Run for node1
[2015-06-02T11:04:05-04:00] INFO: Running start handlers
[2015-06-02T11:04:05-04:00] INFO: Start handlers complete.
resolving cookbooks for run list: ["chef-client::delete_validation", "chef-client", "ntp", "motd", "users", "apache"]
[2015-06-02T11:04:06-04:00] INFO: Loading cookbooks [[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]]
Synchronizing Cookbooks:
- apache
- cron
- logrotate
- motd
- ntp
- pci
[2015-06-02T11:04:06-04:00] INFO: Storing updated cookbooks/users/recipes/groups.rb in the cache.
[2015-06-02T11:04:06-04:00] INFO: Storing updated cookbooks/users/CHANGELOG.md in the cache.
[2015-06-02T11:04:06-04:00] INFO: Storing updated cookbooks/users/metadata.rb in the cache.
[2015-06-02T11:04:07-04:00] INFO: Storing updated cookbooks/users/README.md in the cache.
- users
[2015-06-02T11:04:07-04:00] INFO: Storing updated cookbooks/chef-client/recipes/bluepill_service.rb in the cache.
================================================================================
Error Syncing Cookbooks:
================================================================================
Networking Error:
-----------------
Error connecting to https://s3-external-1.amazonaws.com/opscode-platform-production-data/organization-59277e50ae146aac68045aba56617f82/checksum-1d5f279fd4ce11473cf2b3a473233f93?AWSAccessKeyId=AKIAIQKPG2CTSTRVDO4Q&Expires=1433261340&Signature=fkEOrDCoN7GaccRPAnn9sgmnRow%3D - getaddrinfo: Name or service not known
Your chef_server_url may be misconfigured, or the network could be down.
Relevant Config Settings:
-------------------------
chef_server_url "https://api.opscode.com/organizations/flagellum"
Running handlers:
[2015-06-02T11:04:27-04:00] ERROR: Running exception handlers
Running handlers complete
[2015-06-02T11:04:27-04:00] ERROR: Exception handlers complete
[2015-06-02T11:04:27-04:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated in 24.608638428 seconds
[2015-06-02T11:04:27-04:00] INFO: Sending resource update report (run-id: 1aba6d60-6850-4880-b350-f1b7afb0de8c)
[2015-06-02T11:04:47-04:00] ERROR: Error connecting to https://api.opscode.com/organizations/flagellum/reports/nodes/node1/runs/1aba6d60-6850-4880-b350-f1b7afb0de8c - getaddrinfo: Name or service not known
[2015-06-02T11:04:47-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
[chef@CentOS63 ~]$
[chef@CentOS63 ~]$ sudo chef-client -l info
[2015-06-02T11:04:50-04:00] INFO: Forking chef instance to converge...
[2015-06-02T11:04:50-04:00] WARN:
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
SSL validation of HTTPS requests is disabled. HTTPS connections are still
encrypted, but chef is not able to detect forged replies or man in the middle
attacks.
To fix this issue add an entry like this to your configuration file:
```
# Verify all HTTPS connections (recommended)
ssl_verify_mode :verify_peer
# OR, Verify only connections to chef-server
verify_api_cert true
```
To check your SSL configuration, or troubleshoot errors, you can use the
`knife ssl check` command like so:
```
knife ssl check -c /etc/chef/client.rb
```
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Starting Chef Client, version 11.12.8
[2015-06-02T11:04:50-04:00] INFO: *** Chef 11.12.8 ***
[2015-06-02T11:04:50-04:00] INFO: Chef-client pid: 42879
[2015-06-02T11:04:55-04:00] INFO: Run List is [role[web]]
[2015-06-02T11:04:55-04:00] INFO: Run List expands to [chef-client::delete_validation, chef-client, ntp, motd, users, apache]
[2015-06-02T11:04:55-04:00] INFO: Starting Chef Run for node1
[2015-06-02T11:04:55-04:00] INFO: Running start handlers
[2015-06-02T11:04:55-04:00] INFO: Start handlers complete.
resolving cookbooks for run list: ["chef-client::delete_validation", "chef-client", "ntp", "motd", "users", "apache"]
[2015-06-02T11:04:55-04:00] INFO: Loading cookbooks [[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]]
Synchronizing Cookbooks:
- apache
- cron
- logrotate
- motd
- ntp
- pci
- users
[2015-06-02T11:04:56-04:00] INFO: Storing updated cookbooks/chef-client/recipes/bsd_service.rb in the cache.
[2015-06-02T11:04:56-04:00] INFO: Storing updated cookbooks/chef-client/recipes/config.rb in the cache.
[2015-06-02T11:04:56-04:00] INFO: Storing updated cookbooks/chef-client/recipes/cron.rb in the cache.
[2015-06-02T11:04:56-04:00] INFO: Storing updated cookbooks/chef-client/recipes/daemontools_service.rb in the cache.
[2015-06-02T11:04:57-04:00] INFO: Storing updated cookbooks/chef-client/recipes/default.rb in the cache.
[2015-06-02T11:04:57-04:00] INFO: Storing updated cookbooks/chef-client/recipes/delete_validation.rb in the cache.
[2015-06-02T11:04:57-04:00] INFO: Storing updated cookbooks/chef-client/recipes/init_service.rb in the cache.
[2015-06-02T11:04:57-04:00] INFO: Storing updated cookbooks/chef-client/recipes/launchd_service.rb in the cache.
[2015-06-02T11:04:58-04:00] INFO: Storing updated cookbooks/chef-client/recipes/runit_service.rb in the cache.
[2015-06-02T11:04:58-04:00] INFO: Storing updated cookbooks/chef-client/recipes/service.rb in the cache.
[2015-06-02T11:04:58-04:00] INFO: Storing updated cookbooks/chef-client/recipes/smf_service.rb in the cache.
[2015-06-02T11:04:58-04:00] INFO: Storing updated cookbooks/chef-client/recipes/src_service.rb in the cache.
[2015-06-02T11:04:58-04:00] INFO: Storing updated cookbooks/chef-client/recipes/systemd_service.rb in the cache.
[2015-06-02T11:04:59-04:00] INFO: Storing updated cookbooks/chef-client/recipes/task.rb in the cache.
[2015-06-02T11:04:59-04:00] INFO: Storing updated cookbooks/chef-client/recipes/upstart_service.rb in the cache.
[2015-06-02T11:04:59-04:00] INFO: Storing updated cookbooks/chef-client/recipes/windows_service.rb in the cache.
[2015-06-02T11:04:59-04:00] INFO: Storing updated cookbooks/chef-client/recipes/_unit_test_cloning_resource.rb in the cache.
[2015-06-02T11:04:59-04:00] INFO: Storing updated cookbooks/chef-client/libraries/helpers.rb in the cache.
[2015-06-02T11:05:00-04:00] INFO: Storing updated cookbooks/chef-client/attributes/default.rb in the cache.
[2015-06-02T11:05:00-04:00] INFO: Storing updated cookbooks/chef-client/CHANGELOG.md in the cache.
[2015-06-02T11:05:00-04:00] INFO: Storing updated cookbooks/chef-client/metadata.json in the cache.
[2015-06-02T11:05:00-04:00] INFO: Storing updated cookbooks/chef-client/README.md in the cache.
- chef-client
[2015-06-02T11:05:00-04:00] INFO: Storing updated cookbooks/chef_handler/resources/default.rb in the cache.
[2015-06-02T11:05:01-04:00] INFO: Storing updated cookbooks/chef_handler/providers/default.rb in the cache.
[2015-06-02T11:05:01-04:00] INFO: Storing updated cookbooks/chef_handler/recipes/default.rb in the cache.
[2015-06-02T11:05:01-04:00] INFO: Storing updated cookbooks/chef_handler/recipes/json_file.rb in the cache.
[2015-06-02T11:05:01-04:00] INFO: Storing updated cookbooks/chef_handler/libraries/matchers.rb in the cache.
[2015-06-02T11:05:01-04:00] INFO: Storing updated cookbooks/chef_handler/attributes/default.rb in the cache.
[2015-06-02T11:05:02-04:00] INFO: Storing updated cookbooks/chef_handler/CHANGELOG.md in the cache.
[2015-06-02T11:05:02-04:00] INFO: Storing updated cookbooks/chef_handler/metadata.json in the cache.
[2015-06-02T11:05:02-04:00] INFO: Storing updated cookbooks/chef_handler/metadata.rb in the cache.
[2015-06-02T11:05:02-04:00] INFO: Storing updated cookbooks/chef_handler/README.md in the cache.
- chef_handler
[2015-06-02T11:05:02-04:00] INFO: Storing updated cookbooks/windows/resources/auto_run.rb in the cache.
[2015-06-02T11:05:03-04:00] INFO: Storing updated cookbooks/windows/resources/batch.rb in the cache.
[2015-06-02T11:05:03-04:00] INFO: Storing updated cookbooks/windows/resources/feature.rb in the cache.
[2015-06-02T11:05:03-04:00] INFO: Storing updated cookbooks/windows/resources/font.rb in the cache.
[2015-06-02T11:05:03-04:00] INFO: Storing updated cookbooks/windows/resources/pagefile.rb in the cache.
[2015-06-02T11:05:03-04:00] INFO: Storing updated cookbooks/windows/resources/path.rb in the cache.
[2015-06-02T11:05:03-04:00] INFO: Storing updated cookbooks/windows/resources/printer.rb in the cache.
[2015-06-02T11:05:04-04:00] INFO: Storing updated cookbooks/windows/resources/printer_port.rb in the cache.
[2015-06-02T11:05:04-04:00] INFO: Storing updated cookbooks/windows/resources/reboot.rb in the cache.
[2015-06-02T11:05:04-04:00] INFO: Storing updated cookbooks/windows/resources/registry.rb in the cache.
[2015-06-02T11:05:04-04:00] INFO: Storing updated cookbooks/windows/resources/shortcut.rb in the cache.
[2015-06-02T11:05:05-04:00] INFO: Storing updated cookbooks/windows/resources/task.rb in the cache.
[2015-06-02T11:05:05-04:00] INFO: Storing updated cookbooks/windows/resources/zipfile.rb in the cache.
[2015-06-02T11:05:05-04:00] INFO: Storing updated cookbooks/windows/providers/auto_run.rb in the cache.
[2015-06-02T11:05:05-04:00] INFO: Storing updated cookbooks/windows/providers/batch.rb in the cache.
[2015-06-02T11:05:05-04:00] INFO: Storing updated cookbooks/windows/providers/feature_dism.rb in the cache.
[2015-06-02T11:05:06-04:00] INFO: Storing updated cookbooks/windows/providers/feature_powershell.rb in the cache.
[2015-06-02T11:05:06-04:00] INFO: Storing updated cookbooks/windows/providers/feature_servermanagercmd.rb in the cache.
[2015-06-02T11:05:06-04:00] INFO: Storing updated cookbooks/windows/providers/font.rb in the cache.
[2015-06-02T11:05:06-04:00] INFO: Storing updated cookbooks/windows/providers/pagefile.rb in the cache.
[2015-06-02T11:05:06-04:00] INFO: Storing updated cookbooks/windows/providers/path.rb in the cache.
[2015-06-02T11:05:06-04:00] INFO: Storing updated cookbooks/windows/providers/printer.rb in the cache.
[2015-06-02T11:05:07-04:00] INFO: Storing updated cookbooks/windows/providers/printer_port.rb in the cache.
[2015-06-02T11:05:07-04:00] INFO: Storing updated cookbooks/windows/providers/reboot.rb in the cache.
[2015-06-02T11:05:07-04:00] INFO: Storing updated cookbooks/windows/providers/registry.rb in the cache.
[2015-06-02T11:05:07-04:00] INFO: Storing updated cookbooks/windows/providers/shortcut.rb in the cache.
[2015-06-02T11:05:07-04:00] INFO: Storing updated cookbooks/windows/providers/task.rb in the cache.
[2015-06-02T11:05:08-04:00] INFO: Storing updated cookbooks/windows/providers/zipfile.rb in the cache.
[2015-06-02T11:05:08-04:00] INFO: Storing updated cookbooks/windows/recipes/default.rb in the cache.
[2015-06-02T11:05:08-04:00] INFO: Storing updated cookbooks/windows/recipes/reboot_handler.rb in the cache.
[2015-06-02T11:05:08-04:00] INFO: Storing updated cookbooks/windows/libraries/feature_base.rb in the cache.
[2015-06-02T11:05:08-04:00] INFO: Storing updated cookbooks/windows/libraries/matchers.rb in the cache.
[2015-06-02T11:05:09-04:00] INFO: Storing updated cookbooks/windows/libraries/powershell_helper.rb in the cache.
[2015-06-02T11:05:09-04:00] INFO: Storing updated cookbooks/windows/libraries/powershell_out.rb in the cache.
[2015-06-02T11:05:09-04:00] INFO: Storing updated cookbooks/windows/libraries/registry_helper.rb in the cache.
[2015-06-02T11:05:09-04:00] INFO: Storing updated cookbooks/windows/libraries/version.rb in the cache.
[2015-06-02T11:05:09-04:00] INFO: Storing updated cookbooks/windows/libraries/windows_architecture_helper.rb in the cache.
[2015-06-02T11:05:10-04:00] INFO: Storing updated cookbooks/windows/libraries/windows_helper.rb in the cache.
[2015-06-02T11:05:10-04:00] INFO: Storing updated cookbooks/windows/libraries/windows_package.rb in the cache.
[2015-06-02T11:05:10-04:00] INFO: Storing updated cookbooks/windows/libraries/windows_privileged.rb in the cache.
[2015-06-02T11:05:10-04:00] INFO: Storing updated cookbooks/windows/libraries/wmi_helper.rb in the cache.
[2015-06-02T11:05:10-04:00] INFO: Storing updated cookbooks/windows/attributes/default.rb in the cache.
[2015-06-02T11:05:11-04:00] INFO: Storing updated cookbooks/windows/CHANGELOG.md in the cache.
[2015-06-02T11:05:11-04:00] INFO: Storing updated cookbooks/windows/metadata.json in the cache.
[2015-06-02T11:05:11-04:00] INFO: Storing updated cookbooks/windows/README.md in the cache.
- windows
Compiling Cookbooks...
Converging 33 resources
Recipe: chef-client::delete_validation
* file[/etc/chef/validation.pem] action delete[2015-06-02T11:05:12-04:00] INFO: Processing file[/etc/chef/validation.pem] action delete (chef-client::delete_validation line 25)
[2015-06-02T11:05:12-04:00] INFO: file[/etc/chef/validation.pem] deleted file at /etc/chef/validation.pem
- delete file /etc/chef/validation.pem
Recipe: chef-client::init_service
* directory[/var/run/chef] action create[2015-06-02T11:05:12-04:00] INFO: Processing directory[/var/run/chef] action create (chef-client::init_service line 97)
[2015-06-02T11:05:12-04:00] INFO: directory[/var/run/chef] created directory /var/run/chef
- create new directory /var/run/chef[2015-06-02T11:05:12-04:00] INFO: directory[/var/run/chef] owner changed to 0
[2015-06-02T11:05:12-04:00] INFO: directory[/var/run/chef] group changed to 0
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* directory[/var/cache/chef] action create[2015-06-02T11:05:13-04:00] INFO: Processing directory[/var/cache/chef] action create (chef-client::init_service line 97)
[2015-06-02T11:05:13-04:00] INFO: directory[/var/cache/chef] created directory /var/cache/chef
- create new directory /var/cache/chef[2015-06-02T11:05:13-04:00] INFO: directory[/var/cache/chef] owner changed to 0
[2015-06-02T11:05:13-04:00] INFO: directory[/var/cache/chef] group changed to 0
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* directory[/var/lib/chef] action create[2015-06-02T11:05:13-04:00] INFO: Processing directory[/var/lib/chef] action create (chef-client::init_service line 97)
[2015-06-02T11:05:13-04:00] INFO: directory[/var/lib/chef] created directory /var/lib/chef
- create new directory /var/lib/chef[2015-06-02T11:05:13-04:00] INFO: directory[/var/lib/chef] owner changed to 0
[2015-06-02T11:05:13-04:00] INFO: directory[/var/lib/chef] group changed to 0
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* directory[/var/log/chef] action create[2015-06-02T11:05:13-04:00] INFO: Processing directory[/var/log/chef] action create (chef-client::init_service line 97)
[2015-06-02T11:05:13-04:00] INFO: directory[/var/log/chef] created directory /var/log/chef
- create new directory /var/log/chef[2015-06-02T11:05:13-04:00] INFO: directory[/var/log/chef] owner changed to 0
[2015-06-02T11:05:13-04:00] INFO: directory[/var/log/chef] group changed to 0
[2015-06-02T11:05:13-04:00] INFO: directory[/var/log/chef] mode changed to 750
- change mode from '' to '0750'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* directory[/etc/chef] action create[2015-06-02T11:05:13-04:00] INFO: Processing directory[/etc/chef] action create (chef-client::init_service line 97)
(up to date)
* template[/etc/init.d/chef-client] action create[2015-06-02T11:05:13-04:00] INFO: Processing template[/etc/init.d/chef-client] action create (chef-client::init_service line 19)
[2015-06-02T11:05:14-04:00] INFO: template[/etc/init.d/chef-client] created file /etc/init.d/chef-client
- create new file /etc/init.d/chef-client[2015-06-02T11:05:14-04:00] INFO: template[/etc/init.d/chef-client] updated file contents /etc/init.d/chef-client
- update content in file /etc/init.d/chef-client from none to f352ec
--- /etc/init.d/chef-client 2015-06-02 11:05:14.137854455 -0400
+++ /tmp/chef-rendered-template20150602-42879-57mzj 2015-06-02 11:05:14.139855455 -0400
@@ -1 +1,110 @@
+#!/bin/bash
+#
+# chef-client Startup script for the Chef client
+#
+# chkconfig: - 98 02
+# description: Client component of the Chef systems integration framework.
+
+### BEGIN INIT INFO
+# Provides: chef-client
+# Required-Start: $local_fs $network $remote_fs
+# Required-Stop: $local_fs $network $remote_fs
+# Should-Start: $named $time
+# Should-Stop: $named $time
+# Short-Description: Startup script for the Chef client
+# Description: Client component of the Chef systems integration framework.
+### END INIT INFO
+
+# Source function library
+. /etc/init.d/functions
+
+exec="/usr/bin/chef-client"
+prog="chef-client"
+
+[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
+
+config=${CONFIG-/etc/chef/client.rb}
+pidfile=${PIDFILE-/var/run/chef/client.pid}
+lockfile=${LOCKFILE-/var/lock/subsys/$prog}
+interval=${INTERVAL-1800}
+splay=${SPLAY-20}
+options=${OPTIONS-}
+
+start() {
+ [ -x $exec ] || exit 5
+ [ -f $config ] || exit 6
+ echo -n $"Starting $prog: "
+ daemon $exec -d -c "$config" -P "$pidfile" -i "$interval" -s "$splay" "$options"
+ retval=$?
+ echo
+ [ $retval -eq 0 ] && touch $lockfile
+ return $retval
+}
+
+stop() {
+ echo -n $"Stopping $prog: "
+ killproc -p $pidfile $exec
+ retval=$?
+ echo
+ [ $retval -eq 0 ] && rm -f $lockfile
+ return $retval
+}
+
+restart () {
+ stop
+ start
+}
+
+reload() {
+ echo -n $"Reloading $prog: "
+ killproc -p $pidfile $exec -HUP
+ retval=$?
+ echo
+ return $retval
+}
+
+force_reload() {
+ restart
+}
+
+rh_status() {
+ # run checks to determine if the service is running or use generic status
+ status -p $pidfile $prog
+}
+
+rh_status_q() {
+ rh_status >/dev/null 2>&1
+}
+
+case "$1" in
+ start)
+ rh_status_q && exit 0
+ $1
+ ;;
+ stop)
+ rh_status_q || exit 0
+ $1
+ ;;
+ restart)
+ $1
+ ;;
+ reload)
+ rh_status_q || exit 7
+ $1
+ ;;
+ force-reload)
+ force_reload
+ ;;
+ status)
+ rh_status
+ ;;
+ condrestart|try-restart)
+ rh_status_q || exit 0
+ restart
+ ;;
+ *)
+ echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
+ exit 2
+esac
+exit $?[2015-06-02T11:05:14-04:00] INFO: template[/etc/init.d/chef-client] mode changed to 755
- change mode from '' to '0755'
- restore selinux security context
* template[/etc/sysconfig/chef-client] action create[2015-06-02T11:05:14-04:00] INFO: Processing template[/etc/sysconfig/chef-client] action create (chef-client::init_service line 26)
[2015-06-02T11:05:14-04:00] INFO: template[/etc/sysconfig/chef-client] created file /etc/sysconfig/chef-client
- create new file /etc/sysconfig/chef-client[2015-06-02T11:05:14-04:00] INFO: template[/etc/sysconfig/chef-client] updated file contents /etc/sysconfig/chef-client
- update content in file /etc/sysconfig/chef-client from none to ec7de1
--- /etc/sysconfig/chef-client 2015-06-02 11:05:14.569066806 -0400
+++ /tmp/chef-rendered-template20150602-42879-19w7wvl 2015-06-02 11:05:14.570067307 -0400
@@ -1 +1,15 @@
+# Configuration file for the chef-client service
+
+CONFIG=/etc/chef/client.rb
+PIDFILE=/var/run/chef/client.pid
+#LOCKFILE=/var/lock/subsys/chef-client
+# Sleep interval between runs.
+# This value is in seconds.
+INTERVAL=1800
+# Maximum amount of random delay before starting a run. Prevents every client
+# from contacting the server at the exact same time.
+# This value is in seconds.
+SPLAY=300
+# Any additional chef-client options.
+OPTIONS=""[2015-06-02T11:05:14-04:00] INFO: template[/etc/sysconfig/chef-client] mode changed to 644
- change mode from '' to '0644'
- restore selinux security context
[2015-06-02T11:05:14-04:00] INFO: template[/etc/sysconfig/chef-client] not queuing delayed action restart on service[chef-client] (delayed), as it's already been queued
* service[chef-client] action enable[2015-06-02T11:05:14-04:00] INFO: Processing service[chef-client] action enable (chef-client::init_service line 32)
[2015-06-02T11:05:15-04:00] INFO: service[chef-client] enabled
- enable service service[chef-client]
* service[chef-client] action start[2015-06-02T11:05:15-04:00] INFO: Processing service[chef-client] action start (chef-client::init_service line 32)
[2015-06-02T11:05:17-04:00] INFO: service[chef-client] started
- start service service[chef-client]
Recipe: ntp::default
* package[ntp] action install[2015-06-02T11:05:17-04:00] INFO: Processing package[ntp] action install (ntp::default line 25)
(up to date)
* package[ntpdate] action install[2015-06-02T11:05:34-04:00] INFO: Processing package[ntpdate] action install (ntp::default line 25)
(up to date)
* directory[/var/lib/ntp] action create[2015-06-02T11:05:34-04:00] INFO: Processing directory[/var/lib/ntp] action create (ntp::default line 29)
(up to date)
* directory[/var/log/ntpstats/] action create[2015-06-02T11:05:34-04:00] INFO: Processing directory[/var/log/ntpstats/] action create (ntp::default line 29)
(up to date)
* cookbook_file[/etc/ntp.leapseconds] action create[2015-06-02T11:05:34-04:00] INFO: Processing cookbook_file[/etc/ntp.leapseconds] action create (ntp::default line 36)
[2015-06-02T11:05:34-04:00] INFO: cookbook_file[/etc/ntp.leapseconds] created file /etc/ntp.leapseconds
- create new file /etc/ntp.leapseconds[2015-06-02T11:05:34-04:00] INFO: cookbook_file[/etc/ntp.leapseconds] updated file contents /etc/ntp.leapseconds
- update content in file /etc/ntp.leapseconds from none to 611cf9
--- /etc/ntp.leapseconds 2015-06-02 11:05:34.107689156 -0400
+++ /tmp/.ntp.leapseconds20150602-42879-1v30bat 2015-06-02 11:05:34.274771444 -0400
@@ -1 +1,232 @@
+#
+# In the following text, the symbol '#' introduces
+# a comment, which continues from that symbol until
+# the end of the line. A plain comment line has a
+# whitespace character following the comment indicator.
+# There are also special comment lines defined below.
+# A special comment will always have a non-whitespace
+# character in column 2.
+#
+# A blank line should be ignored.
+#
+# The following table shows the corrections that must
+# be applied to compute International Atomic Time (TAI)
+# from the Coordinated Universal Time (UTC) values that
+# are transmitted by almost all time services.
+#
+# The first column shows an epoch as a number of seconds
+# since 1900.0 and the second column shows the number of
+# seconds that must be added to UTC to compute TAI for
+# any timestamp at or after that epoch. The value on
+# each line is valid from the indicated initial instant
+# until the epoch given on the next one or indefinitely
+# into the future if there is no next line.
+# (The comment on each line shows the representation of
+# the corresponding initial epoch in the usual
+# day-month-year format. The epoch always begins at
+# 00:00:00 UTC on the indicated day. See Note 5 below.)
+#
+# Important notes:
+#
+# 1. Coordinated Universal Time (UTC) is often referred to
+# as Greenwich Mean Time (GMT). The GMT time scale is no
+# longer used, and the use of GMT to designate UTC is
+# discouraged.
+#
+# 2. The UTC time scale is realized by many national
+# laboratories and timing centers. Each laboratory
+# identifies its realization with its name: Thus
+# UTC(NIST), UTC(USNO), etc. The differences among
+# these different realizations are typically on the
+# order of a few nanoseconds (i.e., 0.000 000 00x s)
+# and can be ignored for many purposes. These differences
+# are tabulated in Circular T, which is published monthly
+# by the International Bureau of Weights and Measures
+# (BIPM). See www.bipm.fr for more information.
+#
+# 3. The current defintion of the relationship between UTC
+# and TAI dates from 1 January 1972. A number of different
+# time scales were in use before than epoch, and it can be
+# quite difficult to compute precise timestamps and time
+# intervals in those "prehistoric" days. For more information,
+# consult:
+#
+# The Explanatory Supplement to the Astronomical
+# Ephemeris.
+# or
+# Terry Quinn, "The BIPM and the Accurate Measurement
+# of Time," Proc. of the IEEE, Vol. 79, pp. 894-905,
+# July, 1991.
+#
+# 4. The insertion of leap seconds into UTC is currently the
+# responsibility of the International Earth Rotation Service,
+# which is located at the Paris Observatory:
+#
+# Central Bureau of IERS
+# 61, Avenue de l'Observatoire
+# 75014 Paris, France.
+#
+# Leap seconds are announced by the IERS in its Bulletin C
+#
+# See hpiers.obspm.fr or www.iers.org for more details.
+#
+# All national laboratories and timing centers use the
+# data from the BIPM and the IERS to construct their
+# local realizations of UTC.
+#
+# Although the definition also includes the possibility
+# of dropping seconds ("negative" leap seconds), this has
+# never been done and is unlikely to be necessary in the
+# foreseeable future.
+#
+# 5. If your system keeps time as the number of seconds since
+# some epoch (e.g., NTP timestamps), then the algorithm for
+# assigning a UTC time stamp to an event that happens during a positive
+# leap second is not well defined. The official name of that leap
+# second is 23:59:60, but there is no way of representing that time
+# in these systems.
+# Many systems of this type effectively stop the system clock for
+# one second during the leap second and use a time that is equivalent
+# to 23:59:59 UTC twice. For these systems, the corresponding TAI
+# timestamp would be obtained by advancing to the next entry in the
+# following table when the time equivalent to 23:59:59 UTC
+# is used for the second time. Thus the leap second which
+# occurred on 30 June 1972 at 23:59:59 UTC would have TAI
+# timestamps computed as follows:
+#
+# ...
+# 30 June 1972 23:59:59 (2287785599, first time): TAI= UTC + 10 seconds
+# 30 June 1972 23:59:60 (2287785599,second time): TAI= UTC + 11 seconds
+# 1 July 1972 00:00:00 (2287785600) TAI= UTC + 11 seconds
+# ...
+#
+# If your system realizes the leap second by repeating 00:00:00 UTC twice
+# (this is possible but not usual), then the advance to the next entry
+# in the table must occur the second time that a time equivlent to
+# 00:00:00 UTC is used. Thus, using the same example as above:
+#
+# ...
+# 30 June 1972 23:59:59 (2287785599): TAI= UTC + 10 seconds
+# 30 June 1972 23:59:60 (2287785600, first time): TAI= UTC + 10 seconds
+# 1 July 1972 00:00:00 (2287785600,second time): TAI= UTC + 11 seconds
+# ...
+#
+# in both cases the use of timestamps based on TAI produces a smooth
+# time scale with no discontinuity in the time interval.
+#
+# This complexity would not be needed for negative leap seconds (if they
+# are ever used). The UTC time would skip 23:59:59 and advance from
+# 23:59:58 to 00:00:00 in that case. The TAI offset would decrease by
+# 1 second at the same instant. This is a much easier situation to deal
+# with, since the difficulty of unambiguously representing the epoch
+# during the leap second does not arise.
+#
+# Questions or comments to:
+# Judah Levine
+# Time and Frequency Division
+# NIST
+# Boulder, Colorado
+# [email protected]
+#
+# Last Update of leap second values: 11 January 2012
+#
+# The following line shows this last update date in NTP timestamp
+# format. This is the date on which the most recent change to
+# the leap second data was added to the file. This line can
+# be identified by the unique pair of characters in the first two
+# columns as shown below.
+#
+#$ 3535228800
+#
+# The NTP timestamps are in units of seconds since the NTP epoch,
+# which is 1900.0. The Modified Julian Day number corresponding
+# to the NTP time stamp, X, can be computed as
+#
+# X/86400 + 15020
+#
+# where the first term converts seconds to days and the second
+# term adds the MJD corresponding to 1900.0. The integer portion
+# of the result is the integer MJD for that day, and any remainder
+# is the time of day, expressed as the fraction of the day since 0
+# hours UTC. The conversion from day fraction to seconds or to
+# hours, minutes, and seconds may involve rounding or truncation,
+# depending on the method used in the computation.
+#
+# The data in this file will be updated periodically as new leap
+# seconds are announced. In addition to being entered on the line
+# above, the update time (in NTP format) will be added to the basic
+# file name leap-seconds to form the name leap-seconds.<NTP TIME>.
+# In addition, the generic name leap-seconds.list will always point to
+# the most recent version of the file.
+#
+# This update procedure will be performed only when a new leap second
+# is announced.
+#
+# The following entry specifies the expiration date of the data
+# in this file in units of seconds since 1900.0. This expiration date
+# will be changed at least twice per year whether or not a new leap
+# second is announced. These semi-annual changes will be made no
+# later than 1 June and 1 December of each year to indicate what
+# action (if any) is to be taken on 30 June and 31 December,
+# respectively. (These are the customary effective dates for new
+# leap seconds.) This expiration date will be identified by a
+# unique pair of characters in columns 1 and 2 as shown below.
+# In the unlikely event that a leap second is announced with an
+# effective date other than 30 June or 31 December, then this
+# file will be edited to include that leap second as soon as it is
+# announced or at least one month before the effective date
+# (whichever is later).
+# If an announcement by the IERS specifies that no leap second is
+# scheduled, then only the expiration date of the file will
+# be advanced to show that the information in the file is still
+# current -- the update time stamp, the data and the name of the file
+# will not change.
+#
+# Updated through IERS Bulletin C46
+# File expires on: 28 June 2014
+#
+#@ 3612902400
+#
+2272060800 10 # 1 Jan 1972
+2287785600 11 # 1 Jul 1972
+2303683200 12 # 1 Jan 1973
+2335219200 13 # 1 Jan 1974
+2366755200 14 # 1 Jan 1975
+2398291200 15 # 1 Jan 1976
+2429913600 16 # 1 Jan 1977
+2461449600 17 # 1 Jan 1978
+2492985600 18 # 1 Jan 1979
+2524521600 19 # 1 Jan 1980
+2571782400 20 # 1 Jul 1981
+2603318400 21 # 1 Jul 1982
+2634854400 22 # 1 Jul 1983
+2698012800 23 # 1 Jul 1985
+2776982400 24 # 1 Jan 1988
+2840140800 25 # 1 Jan 1990
+2871676800 26 # 1 Jan 1991
+2918937600 27 # 1 Jul 1992
+2950473600 28 # 1 Jul 1993
+2982009600 29 # 1 Jul 1994
+3029443200 30 # 1 Jan 1996
+3076704000 31 # 1 Jul 1997
+3124137600 32 # 1 Jan 1999
+3345062400 33 # 1 Jan 2006
+3439756800 34 # 1 Jan 2009
+3550089600 35 # 1 Jul 2012
+#
+# the following special comment contains the
+# hash value of the data in this file computed
+# use the secure hash algorithm as specified
+# by FIPS 180-1. See the files in ~/pub/sha for
+# the details of how this hash value is
+# computed. Note that the hash computation
+# ignores comments and whitespace characters
+# in data lines. It includes the NTP values
+# of both the last modification time and the
+# expiration time of the file, but not the
+# white space on those lines.
+# the hash line is also ignored in the
+# computation.
+#
+#h 1151a8f e85a5069 9000fcdb 3d5e5365 1d505b37[2015-06-02T11:05:34-04:00] INFO: cookbook_file[/etc/ntp.leapseconds] owner changed to 0
[2015-06-02T11:05:34-04:00] INFO: cookbook_file[/etc/ntp.leapseconds] group changed to 0
[2015-06-02T11:05:34-04:00] INFO: cookbook_file[/etc/ntp.leapseconds] mode changed to 644
- change mode from '' to '0644'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* log[No NTP servers specified, using default ntp.org server pools] action write[2015-06-02T11:05:34-04:00] INFO: Processing log[No NTP servers specified, using default ntp.org server pools] action write (ntp::default line 52)
[2015-06-02T11:05:34-04:00] INFO: No NTP servers specified, using default ntp.org server pools
* template[/etc/ntp.conf] action create[2015-06-02T11:05:34-04:00] INFO: Processing template[/etc/ntp.conf] action create (ntp::default line 71)
[2015-06-02T11:05:34-04:00] INFO: template[/etc/ntp.conf] backed up to /var/chef/backup/etc/ntp.conf.chef-20150602110534.651962
[2015-06-02T11:05:34-04:00] INFO: template[/etc/ntp.conf] updated file contents /etc/ntp.conf
- update content in file /etc/ntp.conf from ba8f03 to c381bb
--- /etc/ntp.conf 2013-10-27 09:07:05.541644862 -0400
+++ /tmp/chef-rendered-template20150602-42879-1u1bm7i 2015-06-02 11:05:34.647955229 -0400
@@ -1,58 +1,30 @@
-# For more information about this file, see the man pages
-# ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).
+# Generated by Chef for centos63.example.com
+# Local modifications will be overwritten.
+tinker panic 0
+statsdir /var/log/ntpstats/
+leapfile /etc/ntp.leapseconds
+driftfile /var/lib/ntp/ntp.drift
-driftfile /var/lib/ntp/drift
+statistics loopstats peerstats clockstats
+filegen loopstats file loopstats type day enable
+filegen peerstats file peerstats type day enable
+filegen clockstats file clockstats type day enable
-# Permit time synchronization with our time source, but do not
-# permit the source to query or modify the service on this system.
-restrict default kod nomodify notrap nopeer noquery
-restrict -6 default kod nomodify notrap nopeer noquery
-# Permit all access over the loopback interface. This could
-# be tightened as well, but to do so would effect some of
-# the administrative functions.
-restrict 127.0.0.1
-restrict -6 ::1
-# Hosts on local network are less restricted.
-#restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
+server 0.pool.ntp.org iburst
+restrict 0.pool.ntp.org nomodify notrap noquery
+server 1.pool.ntp.org iburst
+restrict 1.pool.ntp.org nomodify notrap noquery
+server 2.pool.ntp.org iburst
+restrict 2.pool.ntp.org nomodify notrap noquery
+server 3.pool.ntp.org iburst
+restrict 3.pool.ntp.org nomodify notrap noquery
-# Use public servers from the pool.ntp.org project.
-# Please consider joining the pool (http://www.pool.ntp.org/join.html).
-server 0.north-america.pool.ntp.org
-server 1.north-america.pool.ntp.org
-server 2.north-america.pool.ntp.org
+restrict default kod notrap nomodify nopeer noquery
+restrict 127.0.0.1 nomodify
+restrict -6 default kod notrap nomodify nopeer noquery
+restrict -6 ::1 nomodify
-#broadcast 192.168.1.255 autokey # broadcast server
-#broadcastclient # broadcast client
-#broadcast 224.0.1.1 autokey # multicast server
-#multicastclient 224.0.1.1 # multicast client
-#manycastserver 239.255.254.254 # manycast server
-#manycastclient 239.255.254.254 autokey # manycast client
-# Undisciplined Local Clock. This is a fake driver intended for backup
-# and when no outside source of synchronized time is available.
-#server 127.127.1.0 # local clock
-#fudge 127.127.1.0 stratum 10
-
-# Enable public key cryptography.
-#crypto
-
-includefile /etc/ntp/crypto/pw
-
-# Key file containing the keys and key identifiers used when operating
-# with symmetric key cryptography.
-keys /etc/ntp/keys
-
-# Specify the key identifiers which are trusted.
-#trustedkey 4 8 42
-
-# Specify the key identifier to use with the ntpdc utility.
-#requestkey 8
-
-# Specify the key identifier to use with the ntpq utility.
-#controlkey 8
-
-# Enable writing of statistics records.
-#statistics clockstats cryptostats loopstats peerstats
- restore selinux security context
* service[ntpd] action enable[2015-06-02T11:05:34-04:00] INFO: Processing service[ntpd] action enable (ntp::default line 100)
(up to date)
* service[ntpd] action start[2015-06-02T11:05:35-04:00] INFO: Processing service[ntpd] action start (ntp::default line 100)
(up to date)
Recipe: motd::default
* template[/etc/motd] action create[2015-06-02T11:05:35-04:00] INFO: Processing template[/etc/motd] action create (motd::default line 10)
[2015-06-02T11:05:35-04:00] INFO: template[/etc/motd] backed up to /var/chef/backup/etc/motd.chef-20150602110535.771998
[2015-06-02T11:05:35-04:00] INFO: template[/etc/motd] updated file contents /etc/motd
- update content in file /etc/motd from b676c2 to a441c1
(current file is binary, diff output suppressed)[2015-06-02T11:05:35-04:00] INFO: template[/etc/motd] mode changed to 644
- change mode from '0664' to '0644'
- restore selinux security context
Recipe: users::default
* user[frank] action create[2015-06-02T11:05:36-04:00] INFO: Processing user[frank] action create (users::default line 11)
[2015-06-02T11:05:36-04:00] INFO: user[frank] created
- create user user[frank]
* user[bobo] action create[2015-06-02T11:05:36-04:00] INFO: Processing user[bobo] action create (users::default line 11)
[2015-06-02T11:05:36-04:00] INFO: user[bobo] created
- create user user[bobo]
Recipe: users::groups
* group[clowns] action create[2015-06-02T11:05:36-04:00] INFO: Processing group[clowns] action create (users::groups line 2)
[2015-06-02T11:05:36-04:00] INFO: group[clowns] created
- create group[clowns]
Recipe: apache::default
* package[httpd] action install[2015-06-02T11:05:36-04:00] INFO: Processing package[httpd] action install (apache::default line 10)
[2015-06-02T11:05:36-04:00] INFO: package[httpd] installing httpd-2.2.15-39.el6.centos from base repository
- install version 2.2.15-39.el6.centos of package httpd
* execute[mv /etc/httpd/conf.d/welcome.conf /etc/httpd/conf.d/welcome.conf.disabled] action run[2015-06-02T11:05:51-04:00] INFO: Processing execute[mv /etc/httpd/conf.d/welcome.conf /etc/httpd/conf.d/welcome.conf.disabled] action run (apache::default line 15)
[2015-06-02T11:05:51-04:00] INFO: execute[mv /etc/httpd/conf.d/welcome.conf /etc/httpd/conf.d/welcome.conf.disabled] ran successfully
- execute mv /etc/httpd/conf.d/welcome.conf /etc/httpd/conf.d/welcome.conf.disabled
* template[/etc/httpd/conf.d/clowns.conf] action create[2015-06-02T11:05:51-04:00] INFO: Processing template[/etc/httpd/conf.d/clowns.conf] action create (apache::default line 28)
[2015-06-02T11:05:52-04:00] INFO: template[/etc/httpd/conf.d/clowns.conf] created file /etc/httpd/conf.d/clowns.conf
- create new file /etc/httpd/conf.d/clowns.conf[2015-06-02T11:05:52-04:00] INFO: template[/etc/httpd/conf.d/clowns.conf] updated file contents /etc/httpd/conf.d/clowns.conf
- update content in file /etc/httpd/conf.d/clowns.conf from none to 91d554
--- /etc/httpd/conf.d/clowns.conf 2015-06-02 11:05:52.165582256 -0400
+++ /tmp/chef-rendered-template20150602-42879-4pis52 2015-06-02 11:05:52.166582749 -0400
@@ -1 +1,17 @@
+
+<VirtualHost *:80>
+ ServerAdmin webmaster@localhost
+
+ DocumentRoot /srv/apache/clowns
+ <Directory />
+ Options FollowSymLinks
+ AllowOverride None
+ </Directory>
+ <Directory /srv/apache/clowns>
+ Options Indexes FollowSymLinks MultiViews
+ AllowOverride None
+ Order allow,deny
+ allow from all
+ </Directory>
+</VirtualHost>[2015-06-02T11:05:52-04:00] INFO: template[/etc/httpd/conf.d/clowns.conf] mode changed to 644
- change mode from '' to '0644'
- restore selinux security context
[2015-06-02T11:05:52-04:00] INFO: template[/etc/httpd/conf.d/clowns.conf] not queuing delayed action restart on service[httpd] (delayed), as it's already been queued
* directory[/srv/apache/clowns] action create[2015-06-02T11:05:52-04:00] INFO: Processing directory[/srv/apache/clowns] action create (apache::default line 39)
[2015-06-02T11:05:52-04:00] INFO: directory[/srv/apache/clowns] created directory /srv/apache/clowns
- create new directory /srv/apache/clowns[2015-06-02T11:05:52-04:00] INFO: directory[/srv/apache/clowns] mode changed to 755
- change mode from '' to '0755'
- restore selinux security context
* template[/srv/apache/clowns/index.html] action create[2015-06-02T11:05:52-04:00] INFO: Processing template[/srv/apache/clowns/index.html] action create (apache::default line 45)
[2015-06-02T11:05:53-04:00] INFO: template[/srv/apache/clowns/index.html] created file /srv/apache/clowns/index.html
- create new file /srv/apache/clowns/index.html[2015-06-02T11:05:53-04:00] INFO: template[/srv/apache/clowns/index.html] updated file contents /srv/apache/clowns/index.html
- update content in file /srv/apache/clowns/index.html from none to bbb1fc
--- /srv/apache/clowns/index.html 2015-06-02 11:05:53.017001567 -0400
+++ /tmp/chef-rendered-template20150602-42879-46la5h 2015-06-02 11:05:53.019002541 -0400
@@ -1 +1,8 @@
+<html>
+ <body>
+ <h1>Welcome to Chef</h1>
+ <h2>We love clowns</h2>
+ 10.160.201.90:80
+ </body>
+</html>[2015-06-02T11:05:53-04:00] INFO: template[/srv/apache/clowns/index.html] mode changed to 644
- change mode from '' to '0644'
- restore selinux security context
* template[/etc/httpd/conf.d/bears.conf] action create[2015-06-02T11:05:53-04:00] INFO: Processing template[/etc/httpd/conf.d/bears.conf] action create (apache::default line 28)
[2015-06-02T11:05:53-04:00] INFO: template[/etc/httpd/conf.d/bears.conf] created file /etc/httpd/conf.d/bears.conf
- create new file /etc/httpd/conf.d/bears.conf[2015-06-02T11:05:53-04:00] INFO: template[/etc/httpd/conf.d/bears.conf] updated file contents /etc/httpd/conf.d/bears.conf
- update content in file /etc/httpd/conf.d/bears.conf from none to bfd960
--- /etc/httpd/conf.d/bears.conf 2015-06-02 11:05:53.350165638 -0400
+++ /tmp/chef-rendered-template20150602-42879-1rt9ht0 2015-06-02 11:05:53.351166131 -0400
@@ -1 +1,18 @@
+ Listen 8081
+
+<VirtualHost *:8081>
+ ServerAdmin webmaster@localhost
+
+ DocumentRoot /srv/apache/bears
+ <Directory />
+ Options FollowSymLinks
+ AllowOverride None
+ </Directory>
+ <Directory /srv/apache/bears>
+ Options Indexes FollowSymLinks MultiViews
+ AllowOverride None
+ Order allow,deny
+ allow from all
+ </Directory>
+</VirtualHost>[2015-06-02T11:05:53-04:00] INFO: template[/etc/httpd/conf.d/bears.conf] mode changed to 644
- change mode from '' to '0644'
- restore selinux security context
[2015-06-02T11:05:53-04:00] INFO: template[/etc/httpd/conf.d/bears.conf] not queuing delayed action restart on service[httpd] (delayed), as it's already been queued
* directory[/srv/apache/bears] action create[2015-06-02T11:05:53-04:00] INFO: Processing directory[/srv/apache/bears] action create (apache::default line 39)
[2015-06-02T11:05:53-04:00] INFO: directory[/srv/apache/bears] created directory /srv/apache/bears
- create new directory /srv/apache/bears[2015-06-02T11:05:53-04:00] INFO: directory[/srv/apache/bears] mode changed to 755
- change mode from '' to '0755'
- restore selinux security context
* template[/srv/apache/bears/index.html] action create[2015-06-02T11:05:53-04:00] INFO: Processing template[/srv/apache/bears/index.html] action create (apache::default line 45)
[2015-06-02T11:05:53-04:00] INFO: template[/srv/apache/bears/index.html] created file /srv/apache/bears/index.html
- create new file /srv/apache/bears/index.html[2015-06-02T11:05:53-04:00] INFO: template[/srv/apache/bears/index.html] updated file contents /srv/apache/bears/index.html
- update content in file /srv/apache/bears/index.html from none to 0027ad
--- /srv/apache/bears/index.html 2015-06-02 11:05:53.967469645 -0400
+++ /tmp/chef-rendered-template20150602-42879-17hlf0w 2015-06-02 11:05:53.970471123 -0400
@@ -1 +1,8 @@
+<html>
+ <body>
+ <h1>Welcome to Chef</h1>
+ <h2>We love bears</h2>
+ 10.160.201.90:8081
+ </body>
+</html>[2015-06-02T11:05:53-04:00] INFO: template[/srv/apache/bears/index.html] mode changed to 644
- change mode from '' to '0644'
- restore selinux security context
* template[/etc/httpd/conf.d/admin.conf] action create[2015-06-02T11:05:54-04:00] INFO: Processing template[/etc/httpd/conf.d/admin.conf] action create (apache::default line 28)
[2015-06-02T11:05:54-04:00] INFO: template[/etc/httpd/conf.d/admin.conf] created file /etc/httpd/conf.d/admin.conf
- create new file /etc/httpd/conf.d/admin.conf[2015-06-02T11:05:54-04:00] INFO: template[/etc/httpd/conf.d/admin.conf] updated file contents /etc/httpd/conf.d/admin.conf
- update content in file /etc/httpd/conf.d/admin.conf from none to 3664aa
--- /etc/httpd/conf.d/admin.conf 2015-06-02 11:05:54.151560305 -0400
+++ /tmp/chef-rendered-template20150602-42879-16oil7b 2015-06-02 11:05:54.153561291 -0400
@@ -1 +1,18 @@
+ Listen 8000
+
+<VirtualHost *:8000>
+ ServerAdmin webmaster@localhost
+
+ DocumentRoot /srv/apache/admin
+ <Directory />
+ Options FollowSymLinks
+ AllowOverride None
+ </Directory>
+ <Directory /srv/apache/admin>
+ Options Indexes FollowSymLinks MultiViews
+ AllowOverride None
+ Order allow,deny
+ allow from all
+ </Directory>
+</VirtualHost>[2015-06-02T11:05:54-04:00] INFO: template[/etc/httpd/conf.d/admin.conf] mode changed to 644
- change mode from '' to '0644'
- restore selinux security context
[2015-06-02T11:05:54-04:00] INFO: template[/etc/httpd/conf.d/admin.conf] not queuing delayed action restart on service[httpd] (delayed), as it's already been queued
* directory[/srv/apache/admin] action create[2015-06-02T11:05:54-04:00] INFO: Processing directory[/srv/apache/admin] action create (apache::default line 39)
[2015-06-02T11:05:54-04:00] INFO: directory[/srv/apache/admin] created directory /srv/apache/admin
- create new directory /srv/apache/admin[2015-06-02T11:05:54-04:00] INFO: directory[/srv/apache/admin] mode changed to 755
- change mode from '' to '0755'
- restore selinux security context
* template[/srv/apache/admin/index.html] action create[2015-06-02T11:05:54-04:00] INFO: Processing template[/srv/apache/admin/index.html] action create (apache::default line 45)
[2015-06-02T11:05:54-04:00] INFO: template[/srv/apache/admin/index.html] created file /srv/apache/admin/index.html
- create new file /srv/apache/admin/index.html[2015-06-02T11:05:54-04:00] INFO: template[/srv/apache/admin/index.html] updated file contents /srv/apache/admin/index.html
- update content in file /srv/apache/admin/index.html from none to 3bb755
--- /srv/apache/admin/index.html 2015-06-02 11:05:54.523743597 -0400
+++ /tmp/chef-rendered-template20150602-42879-14xla5c 2015-06-02 11:05:54.524744089 -0400
@@ -1 +1,8 @@
+<html>
+ <body>
+ <h1>Welcome to Chef</h1>
+ <h2>We love admin</h2>
+ 10.160.201.90:8000
+ </body>
+</html>[2015-06-02T11:05:54-04:00] INFO: template[/srv/apache/admin/index.html] mode changed to 644
- change mode from '' to '0644'
- restore selinux security context
* service[httpd] action enable[2015-06-02T11:05:54-04:00] INFO: Processing service[httpd] action enable (apache::default line 55)
[2015-06-02T11:05:54-04:00] INFO: service[httpd] enabled
- enable service service[httpd]
* service[httpd] action start[2015-06-02T11:05:54-04:00] INFO: Processing service[httpd] action start (apache::default line 55)
[2015-06-02T11:05:55-04:00] INFO: service[httpd] started
- start service service[httpd]
[2015-06-02T11:05:55-04:00] INFO: template[/etc/init.d/chef-client] sending restart action to service[chef-client] (delayed)
Recipe: chef-client::init_service
* service[chef-client] action restart[2015-06-02T11:05:55-04:00] INFO: Processing service[chef-client] action restart (chef-client::init_service line 32)
[2015-06-02T11:06:02-04:00] INFO: service[chef-client] restarted
- restart service service[chef-client]
[2015-06-02T11:06:02-04:00] INFO: template[/etc/ntp.conf] sending restart action to service[ntpd] (delayed)
Recipe: ntp::default
* service[ntpd] action restart[2015-06-02T11:06:02-04:00] INFO: Processing service[ntpd] action restart (ntp::default line 100)
[2015-06-02T11:06:02-04:00] INFO: service[ntpd] restarted
- restart service service[ntpd]
[2015-06-02T11:06:02-04:00] INFO: execute[mv /etc/httpd/conf.d/welcome.conf /etc/httpd/conf.d/welcome.conf.disabled] sending restart action to service[httpd] (delayed)
Recipe: apache::default
* service[httpd] action restart[2015-06-02T11:06:02-04:00] INFO: Processing service[httpd] action restart (apache::default line 55)
[2015-06-02T11:06:03-04:00] INFO: service[httpd] restarted
- restart service service[httpd]
[2015-06-02T11:06:14-04:00] INFO: Chef Run complete in 79.43976095 seconds
Running handlers:
[2015-06-02T11:06:14-04:00] INFO: Running report handlers
Running handlers complete
[2015-06-02T11:06:14-04:00] INFO: Report handlers complete
Chef Client finished, 32/39 resources updated in 84.072232551 seconds
[2015-06-02T11:06:14-04:00] INFO: Sending resource update report (run-id: 20ab663d-9f7d-4e3b-82da-1a0f3ec8d2ca)
[chef@CentOS63 ~]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment