This file contains 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
Exam A | |
QUESTION 1 | |
Which of the following information is stored within the BIOS? (Choose TWO correct answers.) | |
A. Boot device order | |
B. Linux kernel version | |
C. Timezone | |
D. Hardware configuration |
This file contains 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
QUESTION 1 | |
Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination? | |
A. /etc/keys | |
B. /proc/keys | |
C. /etc/inittab | |
D. /proc/inittab | |
E. /etc/reboot | |
QUESTION 2 | |
Which of the following information is stored within the BIOS? (Choose TWO correct answers.) |
This file contains 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
# Kernel sysctl configuration file for Red Hat Linux | |
# | |
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and | |
# sysctl.conf(5) for more details. | |
# Controls source route verification | |
net.ipv4.conf.default.rp_filter = 1 | |
# Do not accept source routing | |
net.ipv4.conf.default.accept_source_route = 0 |
This file contains 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 bash | |
# This script will connect to the rest api of the puppetca listed in your | |
# puppet config and update the local copy certificate revocation list. | |
# | |
# This is useful when you have distributed puppet masters fronted by | |
# a webserver and passenger. | |
# | |
# https://docs.puppetlabs.com/guides/rest_api.html#certificate-revocation-list | |
# https://ask.puppetlabs.com/question/3843/multiple-puppet-masters-with-single-ca-server/ |
This file contains 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
#! /bin/bash | |
echo "Checking to see if the Puppet Labs apt repo needs to be added..." | |
if [ ! -f /home/vagrant/repos_added.txt ]; | |
then | |
echo "Adding Puppet Labs apt repository..." | |
sudo wget -N http://apt.puppetlabs.com/puppetlabs-release-quantal.deb >/dev/null | |
sudo dpkg -i puppetlabs-release-quantal.deb >/dev/null | |
echo "Updating apt..." | |
sudo apt-get update >/dev/null |
This file contains 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
This is what I did to test consul puppet module | |
### In consul, any node whether it is agent or server, (other than initial node) need an agent address which is in the cluster in order to join the cluster. This is different from etcd where it allow for autodiscovery. | |
I Faced couple of issues with consul module. | |
1. Consul service configuration json is not correct when port parameter specified in consul::service. consul expect that parameter to be integer, but module write it as string. This need to be fixed. | |
2. If initial server is not up while starting other servers or agent, the cluster join will be failed, and unless there is any (new) service definition, that node will not be joining to the consul cluster, as cluster join code in the module is only called when service restart. I submitted a patch in jiocloud/puppet-consul to fix this. | |
Added initial server IP in hiera in my env as testing for now. |
This file contains 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
radosgw just works (tested for swift as of now), I am able to create containers and objects. But I see a weird issue on object download using swift client just fails complaining on content length vs readlength mismatch, but at the same time curl just works and I see right content in the downloaded file. | |
Here is the details | |
root@ocdb1-testjenkins-puppet-rjil-gate-265:/tmp# swift stat container openrc | |
Account: v1 | |
Container: container |
This file contains 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
########## Type | |
################## | |
Puppet::Type.newtype(:rjil_tempest_config) do | |
ensurable | |
newparam(:name, :namevar => true) do | |
desc 'Section/setting name to manage from tempest.conf' | |
newvalues(/\S+\/\S+/) |