Server :: Parameter To Execute Shell Script On Puppet Client Through Puppet Server?

Feb 15, 2010

I have installed a puppet server and its client on Centos.Puppet server and its client is running fine and its update whatever changes made on Puppet server is updatedon its client but i am unable to execute script (Bash shell)on the client through Puppet server. So please advice a suitable class or parameter for Puppet server so that it could execute on its client

View 3 Replies


ADVERTISEMENT

Fedora Servers :: Puppet Before For System Administration?

Jul 17, 2009

Have folks tried Puppet before for system administration? Puppet is system administration Automated [URL]Following article mentions that;

[Code]....

View 3 Replies View Related

Ubuntu :: Puppet Configuration Of Security Services

Jun 30, 2011

I'm trying to avoid having to migrate my machine to Fedora: it's either learn to clone some existing Puppet manifests from Fedora to Ubuntu, or move back to Fedora. I'm running into several problems, including parsing errors for rules that work for Fedora and fail for Ubuntu, presumably because the version of libaugeas-ruby is older for Ubuntu (0.3.0) than Fedora (0.4.0). For Ubuntu, these rules fail with "Could not evaluate: Could not retrieve information from source(s)". Another one is a failure of augeas to use the 'ins' command to insert a rule into krb5.conf. I can't think of any good reason for these other than the older versions of the libraries render Puppet unable to parse properly.

At any rate, I was wondering whether anyone has had experience and success controlling security services in Ubuntu (Natty), such as krb5, pam, screensaver locking, etc. I should be able to hack my way through these, but I keep hitting walls like the evaluation error above.

View 9 Replies View Related

General :: Unable To Start Puppet Master?

Jun 27, 2011

I was able to start puppet server using.

Code:
service puppetmaster start

but since i upgrade the puppet i m not able to start it.

Code:
# puppet --version
2.7.1
# service puppetmaster start
puppetmaster: unrecognized service

[Code]....

View 3 Replies View Related

Software :: Foreman Rpm Unable To Find Installed Puppet

Feb 6, 2011

I have puppet running successfully on my CentOS 5.5 boxes. I just came across this guide to use foreman as a frontend for puppet. I am downloaded and installed (source files) from here.

facter-1.5.8
puppet-2.6.4

I have downloaded latest stable foreman RPMs from here. Now, when I am trying to install Foreman rpm, it is unable to find Puppet, probably because I have installed it through source file.

Code:
[root@box1 foreman]# rpm -ivh foreman-0.1.4-3.noarch.rpm
error: Failed dependencies:
puppet >= 0.24.4 is needed by foreman-0.1.4-3.noarch

View 2 Replies View Related

Ubuntu Servers :: Setup Puppet To Install And Configure Apache

Jul 7, 2010

I'm trying to setup puppet to install and configure apache on several servers. Having found: [URL] I thought I was onto something. However I'm a little lost, does anyone know of or can anyone write a small howto on how to get this module working on certain nodes. My current state is puppet is running and connected to the puppetmaster. I can do simple things but the apache install have lost me a little.

View 1 Replies View Related

Ubuntu Servers :: Setup Puppet To Install And Configure Apache?

Nov 23, 2010

I'm trying to setup puppet to install and configure apache on several servers. Having found:

[URL]

I thought I was onto something. However I'm a little lost, does anyone know of or can anyone write a small howto on how to get this module working on certain nodes.My current state is puppet is running and connected to the puppetmaster. I can do simple things but the apache install have lost me a little.

View 4 Replies View Related

OpenSUSE Network :: Manage The Firewall From The Command Line Or With Files VIA Puppet?

Apr 25, 2011

I would like to manage the firewall from the command line or with files VIA puppet, however this peice of software seems pretty complicated compared to the other distributions and generic iptables commands / configurations we push out.

View 9 Replies View Related

Server :: Shell Scripting Command Line / Getting Error While Passing Parameter?

May 6, 2011

I am very new to shell scripting.How does one pass a command-line parameter to a shell script?for the below program
#/bin/bash
mount -t cifs -o user=ramkannan,password=Linux123@ //10.200.1.125/ramkannan /MT
cd /MT/test
date=`/bin/date "+\%Y-\%m-\%d-\%H-\%M-\%S"`
mysqldump -uroot -pram2@ employeedb > $date.sql
gzip $date.sql

I want to pass parameter for everything,i tried in google and did but iam getting error while passing parameter to all

#/bin/bash
mount -t cifs -o user=$1,password=$2 //10.200.1.125/ramkannan /MT
cd /MT/test
date=`/bin/date "+\%Y-\%m-\%d-\%H-\%M-\%S"`
mysqldump -uroot -pram2@ employeedb > $date.sql
gzip $date.sql

i was getting error while passing parameter to all.

View 2 Replies View Related

Server :: LDAP Server Vs Client / Export Server's Home Directory To The Client?

Jun 11, 2011

I configured openLdap in RHEL5 on virtual achines,everything is working fine, I created a user called ldapuser,in LDAP server and i created a home directory for ldapuser in my LDAP client, now i can able to login to the both Server and client with ldapuser account....

Now here what am expecting is i want to export my server's home directory to the client, i dont want to create home directories manually in the client machine, i googled about that, and it can be done through autofs.....

what need to be done on the client and server side.

View 6 Replies View Related

Programming :: Socket And Timer Programming - Server Doesn't Execute Any Msg Which Client Sent

May 16, 2011

i have a server program which accept multiple client connection and am using polling. like every 2 secs it will look to client whether any data is received after it binded. i have used setitimer but there is runtime error i got.. the server accept all client connection but doesn't execute any msg which client sent.

#include<stdio.h>
#include<stdlib.h>
#include<sys/socket.h>
#include<sys/types.h>
#include<netdb.h>
#include<unistd.h>
#include<pthread.h>
#include<string.h>
[Code]....

View 1 Replies View Related

General :: Mount The File Server Share On Application Server And Execute

Jan 8, 2010

i have purchased sun server for my visualization project. Request you to help me finding the io for disk .I have put storage(disks) on different location (File Server) and on server (Application) i have configured 4 virtual machines.

How would i monitor the io for file server from the Application server where i have configured 4 virtual machine. one way to mount the file server share on application server and execute

dd if=/dev/zero of=/share/test.out bs=1024 count=1024 to check the read and write Is there any other way of doing this.

View 1 Replies View Related

Server :: Nis Client On Centos Not Working With Suse Server / But Works With Suse Nis Client

Jun 25, 2009

I have a Nis server on Suse 11 which is configured using Yast and nis clients on Suse and CentOs .All clients which is on the Suse Os is working fine. But on CentOs , users couldn't login using nis username.I have mounted home directory using nfs in fstab . I can switch to nis users homedirectory only when i am root. But nis users could'nt login on reboot.' ypcat passwd username ' is showing the output . No selinux is enabled in the client .Is there is any problem with Suse server to Centos Client in nis ??

View 2 Replies View Related

Server :: Openldap Client Fails To Connect Ldap Server 'ldap_bind - Can't Contact LDAP Server

Sep 28, 2010

Just installed openldap server on a VM CentOS called 'ldapsrv', it works fine, ldapsearch returns all ldap information.

Installed openldap client on another VM CentOS called 'ldapclient1', configured it with most basic configuration, no ssl/tls etc. but ldapsearch returns error:

ldapsrv is pingable:

Some outputs:

PHP Code:

PHP Code:

View 20 Replies View Related

Ubuntu Networking :: DHCP Server Which Does Not Configure The Default Gateway Parameter

Jun 29, 2011

I need to place an Ubuntu machine on a network where I have a DHCP server which does not configure the Degault Gateway parameter (we don't want ordinary users to browse the internet). Is it possible to leave the machine using DHCP and define the Default Gateway manually (as in Windows XP i.e.)? How?

View 1 Replies View Related

Ubuntu :: Shell: Dirname With Variable As Parameter?

Jul 31, 2010

Code:
a=/this/is/a/dir.txt
dirname $a

[code]....

View 2 Replies View Related

Debian Configuration :: Installed Nfs-kernel-server On The Server And Nfs-common On The Client?

May 3, 2011

I have installed nfs-kernel-server on the server and nfs-common on the client. Assumeserver 192.168.1.1client 192.168.1.3

content of /etc/exports is:
/home  192.168.1.0/255.255.255.0(rw,sync,no_root_squash)
/home/nfsroot  192.168.1.0/255.255.255.0(rw,no_subtree_check,async,no_root_squash)

[code]....

View 4 Replies View Related

OpenSUSE :: FIrewall Setup / Client Computer Cannot See NFS Server When Scanning For Server - OSE 11.2?

Apr 21, 2010

I have a small home-office network. On that network I have two linux computers, one is a client the other a server.

On the server I have NFS Server setup and mount some NFS exports on the client computer.

On the server I have the firewall on and here it becomes a little tricky.

Since both the server and the client connect to the router the interface (eth1) is theoretically both an internal & external zone.

The router is commercial grade and therefore has a good firewall on it which is also setup. Therefore the firewall on the server is really more of a backup than a necessity. But that's fine, and by having the server's firewall on 'fail2ban' is able to work which I like to have working so I don't want to just turn off the server firewall even though I have good security from the router.

However, when I turn on the server's firewall, the client computer cannot see the NFS server when scanning for server -- done by: clicking on "Choose" next to "NFS Server Hostname" when adding an NFS share in the NFS Client in YaST. Clearly something is being blocked even though I have both "NFS Client" and "NFS Server Service" allowed in the server firewall. The Firewall config. files for these are below.

The Firewall configuration is pretty much "out of the box". That is I have the services I need opened up for the external zone, the other zones are left at their default which means the internal zone, although not used (i.e.: attached to any interface), is completely open.

The perfect solution I guess would be to setup my client computer to connect through a different NIC (perhaps eth0), make that the "Internal Zone" and therefore allow all traffic through to it while still blocking the server from the external zone. However, I cannot make that physical change to my network for now so I am looking for an in between (non-perfect) solution.

In this case I am guessing that means opening up extra NFS ports to the external zone so I have full NFS functionality. I don't mind this because like I said, the router firewall is the main line of defense anyway.

So, given all of the above could someone tell me what I would need to additionally open up in the server firewall to make the NFS server detection work on the client while the firewall was on. Or, if you have a cleverer/better solution without me changing my physical network that would be great.

Hopefully I have written this in enough detail and clearly enough so that all the parameters are clear but if not, feel free to ask me what you like and I'll try to make it clear.

Code:
## Description: Firewall Configuration for NFS kernel server.
#
# Only the variables TCP, UDP, RPC, IP and BROADCAST are allowed.
# More may be supported in the future.
code....

View 6 Replies View Related

Server :: Calling Remote Apps On Windows Server From 'buntu' Client

Apr 23, 2010

My desktop is running 'buntu 9.10 and I have recently aquired a couple of half decent servers running Windows server 2003. I have a few windows app's that I use regularly for work that I have had limited success in running with wine or in vm's. I stumbled upon a how to to call apps in a vm to run seamlessly on the host desktop and did some playing and have succeeded in calling app's on my servers from my 'buntu desktop, the command I have set in my launcher for one of them (DIALux)

My question is, can I change the default application/file association in 'buntu with a custom command so I can double click on a file and have it open in one of these remote app's??If I can, what is the correct custom command to be using as using the above doesn't work at all, it just tries to open the file with rdesktop not the remote app.

View 1 Replies View Related

Server :: CentOS /Samba Server- XP Windows Client File Sharing?

Nov 3, 2009

I have a CentOS + Samba server and Windows XP client machines. Users, passwords and permissions are entered on the server machine.users and passwords ( same as on the server ) are entered in the XP client machine.When attempting to access a public file on the server using a XP client machine and the IP address of my server, I am asked a user name and password and none of the already entered seem to work. I cannot access the server file (prompted again and again to enter user name and password). What did i miss

View 7 Replies View Related

Server :: Run An Openvpn Server On A Openvz VPS - Packets Doesn't Reach The Client

Oct 23, 2010

I'm trying hard to run an openvpn server on a openvz VPS, the problem is packets sent from openvpn server process, doesnt reach the client, so connection is never stablished (I run tcpdump on server and wireshark on client to carefully investigate whats wrong), the first guess is that a kind of firewall is blocking traffic (I tried connecting to server through different ISP's but it's possible the national network provider applied some filtering but it cant be on IP,src port or dst port as I'd tried different configuration.

what about deep packet inspection technics, is it possible to block my traffic?) but at exactly the same time I can transmit UDP packets using netcat from server to the guest. there is no firewall enabled in between, I had tried, tcp and udp, tried both open vpn and openvpnAS and tried any thing one can imagine! the VPN is configured as a routed (TUN) type on debian

View 9 Replies View Related

Ubuntu :: Terminal Server Client And Server 2008?

May 18, 2010

I love Ubuntu and last night I wiped crappy windows 7 off my laptop and installed and customised a beautiful Ubuntu 9 OS ( I tried the new 10.04 first but it had some issues for me ). Now, up here at work we got a Domain Controller that is running windows server 2008, I need to be able to RDP into it and mess with it, I tried to use the Terminal Server Client that comes with Ubuntu, and I can see the login screen just fine, but when I try to log in it says incorrect password and wont go through.

Just to make sure it was not my account that was the issue, I went to my boss and used his computer (a MAC running OSX) and I was able to get into the same server with the same credentials, so it has something to do with my computer not my account. Do any of you have any ideas on what the problem could be?

View 5 Replies View Related

Networking :: Can't Ping Server From Client But After Run In Server RHEL5

Nov 27, 2010

I have 2 ethernet cards but when I look at the Network configuration in "Hardware Tab" I have another acx wireless network. How to delete that because In my system Idon't have wireless card..probably installed before but want delete it now.

[code]...

then windows can ping server and resolve ip address and browsing Internet but can't ping [URL]... result is Request time out. ICMP already enabled in iptables.

View 6 Replies View Related

General :: Connecting From A Windows7 Client To A Server Through Vnc Server?

Jul 29, 2011

i tried to connecting from a windows7 client to a linux server through vnc server.But its very slow , is there any alternative for vnc . i heard that samba can be used as a remote desktop tool if its true please reply with configuration details.

View 2 Replies View Related

Server :: How To Force Squid3 To Use SSL Connection Between Client And Server?

Sep 17, 2010

I actually have a server and a client.The client must connect to the server (via internet) to access to external websites. (You can see the attachment, maybe it's more clear )My actual problem is, I have configure Squid on my server, but I want to force SSL for the connection between the client and the server.I didn't really find nice tutorials about on that, maybe someone have an idea ? Or maybe some indications ?

View 1 Replies View Related

Server :: How To Make Machine As A Client Of NIS Domain Server?

Jan 19, 2011

In a newly installed Linux machine which is a client machine, is not listening to NIS domain server even after setting IP address ,default gateway,and subnet mask.What are all the changes to be done in configuration file.And how can be solved

View 2 Replies View Related

Server :: How To Setup CVS Server In Fedora11 And CVS Client In Windows Xp

Sep 12, 2009

I have one Windows-XP on Machin 1 and one Linux on Machine 2.

I want make Linux machine as CVS server and Windows Xp as CVS client.

How to setup CVS Server in Fedora-11 machine and CVS client in Windows Xp?

Photo : http://img27.imageshack.us/img27/5864/cvsserver.gif

View 1 Replies View Related

Server :: Server For Shell Programming On Windows (XP) Clients?

Jan 9, 2010

I have to have a Linux server for shell programming on Windows (XP) clients

View 3 Replies View Related

CentOS 5 Server :: Server Update Using Shell Commands?

Feb 22, 2009

Is there a way to run CentOS 5.2 update system using the shell, avoiding the GUI (I want to do it remotely using SSH?

View 1 Replies View Related

Server :: Adding New User In NIS Server And Client

Apr 27, 2010

I am Amit, working with IGate. I am able to configure NIS server and client,but after configuring server and client,when I add a new user to server and client and when I login througy new user from client, It shows error "user cannot found".I added a new user to NIS server make entry of user to client pc in /etc/auto.master file and restarted the services bind,nfs,autofs,portmap on server also restarted the serveces on client bind,autofs,portmap then alon I cannot login by new user on client matchine. Please tell me what is cause and how to resolve it.I shared server's /home dir and on client pc automounted the server's /home dir by making entries in /etc/auto.misc file on client pc.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved