Skip to content

Instantly share code, notes, and snippets.

add_action( 'wp_head', 'remove_default_wp_actions', 11 );
function remove_default_wp_actions(){
remove_action('wp_head', 'rsd_link' );
remove_action('wp_head', 'wlwmanifest_link' );
remove_action('wp_head', 'adjacent_posts_rel_link_wp_head', 10);
remove_action('wp_head', 'print_emoji_detection_script', 7 );
remove_action( 'wp_head', 'wp_generator' );
remove_action( 'wp_head', 'rel_canonical' );
remove_action( 'wp_head', 'wp_shortlink_wp_head', 10);
}
You are about to submit multiple commits. This is expected if you are
submitting a commit that is dependent on one or more in-review
commits. Otherwise you should consider squashing your changes into one
commit before submitting.

The outstanding commits are:

f220384 (HEAD) Add Apache 2.4 proxy_fastcgi support for radosgw
eacb023 Replace all StackForge names to OpenStack
$ git review
Could not connect to gerrit.
Enter your gerrit username: skippy
Trying again with ssh://[email protected]:29418/stackforge/puppet-ceph.git
<traceback object at 0x11090f950>
We don't know where your gerrit is. Please manually create a remote
named "gerrit" and try again.
Could not connect to gerrit at ssh://[email protected]:29418/stackforge/puppet-ceph.git
Traceback (most recent call last):
$ git review -s
Problem running 'git remote update gerrit'
Fetching gerrit
fatal: Project not found: stackforge/puppet-ceph
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
error: Could not fetch gerrit
require 'spec_helper'
describe 'gluster::repo::yum', :type => :class do
describe 'version not specified' do
it 'should not install' do
expect {
should create_file('/etc/pki/rpm-gpg/RPM-GPG-KEY-gluster.pub')
}.to raise_error(Puppet::Error, /Version not specified/)
end
end
gluster smerrill (master)$ cat .fixtures.yml
fixtures:
  symlinks:
    gluster: "#{source_dir}"
  repositories:
    stdlib: "git://github.com/puppetlabs/puppetlabs-stdlib.git"
@skpy
skpy / gist:531a5ec1af233e5986fa
Created September 10, 2014 16:21
sudo.rhel7.txt
```shell
root@rh7:TESTING:~> getenforce
Disabled
root@rh7:TESTING:~> ls -lh /etc/sudoers.d/
total 8.0K
-r--r----- 1 root root 66 Sep 9 15:21 10_cmm_env
-r--r----- 1 root root 41 Sep 10 11:23 10_linuxadmins_all
root@rh7:TESTING:~> cat /etc/sudoers.d/10_linuxadmins_all
[2014-09-08 13:49:14.256842] I [socket.c:3576:socket_init] 0-management: using system polling thread
[2014-09-08 13:49:14.257345] I [socket.c:2238:socket_event_handler] 0-transport: disconnecting now
[2014-09-08 16:29:49.972631] I [glusterd-replace-brick.c:98:__glusterd_handle_replace_brick] 0-management: Received replace brick req
[2014-09-08 16:29:49.972666] I [glusterd-replace-brick.c:153:__glusterd_handle_replace_brick] 0-management: Received replace brick start request
[2014-09-08 16:29:49.973735] I [glusterd-utils.c:8850:glusterd_generate_and_set_task_id] 0-management: Generated task-id 0b73a68a-1a06-4a40-888d-854ab423af64 for key replace-brick-id
[2014-09-08 16:29:49.977233] I [glusterd-replace-brick.c:1412:rb_update_srcbrick_port] 0-: adding src-brick port no
[2014-09-08 16:29:49.977343] I [glusterd-replace-brick.c:1466:rb_update_dstbrick_port] 0-: adding dst-brick port no
[2014-09-08 16:29:49.977423] I [glusterd-replace-brick.c:1674:glusterd_op_replace_brick] 0-management: I AM THE DESTINATION HO

A simple distributed replicated Gluster volume:

root@p1:DEVELOPMENT:~> gluster volume info g0

Volume Name: g0
Type: Distributed-Replicate
Volume ID: 9b3eb30d-9faf-44fd-8225-afc3f21fbfec
Status: Stopped
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
[2014-08-12 19:19:23.518594] I [glusterfsd.c:1910:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.4.5 (/usr/sbin/glusterfs --volfile-id=/t0 --volfile-server=gluster1 /mnt)
[2014-08-12 19:19:23.520758] I [socket.c:3480:socket_init] 0-glusterfs: SSL support is NOT enabled
[2014-08-12 19:19:23.520780] I [socket.c:3495:socket_init] 0-glusterfs: using system polling thread
[2014-08-12 19:19:23.529828] I [socket.c:3480:socket_init] 0-t0-client-1: SSL support is NOT enabled
[2014-08-12 19:19:23.529842] I [socket.c:3495:socket_init] 0-t0-client-1: using system polling thread
[2014-08-12 19:19:23.530272] I [socket.c:3480:socket_init] 0-t0-client-0: SSL support is NOT enabled
[2014-08-12 19:19:23.530281] I [socket.c:3495:socket_init] 0-t0-client-0: using system polling thread
[2014-08-12 19:19:23.530298] I [client.c:2155:notify] 0-t0-client-0: parent translators are ready, attempting connect on transport
[2014-08-12 19:19:23.532879] I [client.c:2155:notify] 0-t0-client-1: parent translators a