Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to create rpm from tar.gz? Post 302549475 by pinga123 on Tuesday 23rd of August 2011 06:44:36 AM
Old 08-23-2011
How to create rpm from tar.gz?

I m planning to use puppet to implement organizational linux hardening policies across the linux servers.

To begin with i have downloaded.
puppet-2.7.1.tar.gz and tried some basic configuration to get start with puppet.
Now i want to roll out the puppet but before that i would like to make puppet rpm to suit my environment(as no service is created for puppet/Uninstall process is not known).

How would i accomplish the same?

My distribution are.
Distribution 1: Stripped down version of Oracle Enterprise linux optimized for running ORACLE Virtual Server(OVS)

Code:
# lsb_release -a
LSB Version:    :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: OracleVMserver
Description:    Oracle VM server release 2.2.0
Release:        2.2.0
Codename:       n/a

Distribution 2:

Oracle Enterprise linux 5.2
# lsb_release -a
Code:
LSB Version:    :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: EnterpriseEnterpriseServer
Description:    Enterprise Linux Enterprise Linux Server release 5.2 (Carthage)
Release:        5.2
Codename:       Carthage

 

10 More Discussions You Might Find Interesting

1. HP-UX

tar says: cannot create

Hello, I'm quite new to HP-UX and I stumbeled upon some strange behaviour from tar. I have a script like this: find -mtime $days -type f|xargs tar cvf tarfile.tar and it make me a tar file with files that has been changed in $days. When i run 'tar tf tarfile.tar' it give me output like... (5 Replies)
Discussion started by: oey2000
5 Replies

2. UNIX for Advanced & Expert Users

How to create a Tar of multiple Files in Unix and FTP the tar to Windows.

Hi, On my Unix Server in my directory, I have 70 files distributed in the following directories (which have several other files too). These files include C Source Files, Shell Script Source Files, Binary Files, Object Files. a) /usr/users/oracle/bin b) /usr/users/oracle... (1 Reply)
Discussion started by: marconi
1 Replies

3. Linux

Converting .tar files into RPM

Hi guys, Can anyone tell me, how .tar files could be convert into .RPM package. Hoping soon replay with positive assistance. Thanks. (1 Reply)
Discussion started by: daya.pandit
1 Replies

4. Shell Programming and Scripting

Shell Program to create a RPM name

Hi Guru,s/Geek,s I need help to create RPM names from rpms. Example : a2ps-4.14-6.fc10.i386 perl-Email-Find-0.10-2.fc10.noarch directfb-1.2.7-2.fc10.i386 libid3tag-0.15.1b-7.fc10.i386 apr-util-1.3.7-1.fc10.i386 libquicktime-1.0.3-4.fc10.i386 The Desired Output is : a2ps... (2 Replies)
Discussion started by: anand.linux1984
2 Replies

5. Red Hat

If I want to create such Installer (Not RPM)

Hi All, I had created a installer (RPM), but later I came across that Netbeans (netbeans-6.9-ml-linux), Flex Builder Linux Alpha (flexbuilder_linux_install_a4_081408.bin) and JDK (jdk-6u20-linux-i586-rpm.bin) dont provide any RPM but they provide a huge binary executable shell script. My... (0 Replies)
Discussion started by: jw_amp
0 Replies

6. Shell Programming and Scripting

How to make RPM not write to RPM database if RPM fails to deploy?

How to make RPM not write to RPM database if RPM fails to deploy? IE I create an rpm spec file that contains the following if then exit 1 fi My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
Discussion started by: 3junior
3 Replies

7. Red Hat

How to create RPM in RHEL5

I would like to package my developed application and deploy it using RPM to my users. Understand that RHEL5 has the following directories created: /usr/src/redhat/BUILD /usr/src/redhat/RPMS /usr/src/redhat/SOURCES /usr/src/redhat/SPECS /usr/src/redhat/SRPMS Using KDevelop as my... (0 Replies)
Discussion started by: tanlccc
0 Replies

8. Programming

How to create RPM in RHEL5

I would like to package my developed application and deploy it using RPM to my users. Understand that RHEL5 has the following directories created: /usr/src/redhat/BUILD /usr/src/redhat/RPMS /usr/src/redhat/SOURCES /usr/src/redhat/SPECS /usr/src/redhat/SRPMS Using KDevelop as my... (0 Replies)
Discussion started by: tanlccc
0 Replies

9. UNIX for Dummies Questions & Answers

How to create rpm?

I m referring below article for creating rpm. Installation and Setup Rpmbuild Tutorial As per the document i will need rpmdevtools and rpmlint to begin with. However i have yum installed and whenever i run them i get below output. # yum install rpmdevtools rpmlint Setting up Install Process... (0 Replies)
Discussion started by: pinga123
0 Replies

10. Red Hat

How to create an rpm from installed files?

i would like to package up an rpm from pre-installed files, say i have a program called "widget" installed under "/opt/widget" /opt/widget/bin/* /opt/widget/lib/* /opt/widget/etc/* /opt/widget/log/* and i want to create an rpm from those already installed files, what would the spec file... (2 Replies)
Discussion started by: melixir
2 Replies
PUPPET-MASTER(8)						   Puppet manual						  PUPPET-MASTER(8)

NAME
puppet-master - The puppet master daemon SYNOPSIS
The central puppet server. Functions as a certificate authority by default. USAGE
puppet master [-D|--daemonize|--no-daemonize] [-d|--debug] [-h|--help] [-l|--logdest file|console|syslog] [-v|--verbose] [-V|--version] [--compile node-name] DESCRIPTION
This command starts an instance of puppet master, running as a daemon and using Ruby's built-in Webrick webserver. Puppet master can also be managed by other application servers; when this is the case, this executable is not used. OPTIONS
Note that any configuration parameter that's valid in the configuration file is also a valid long argument. For example, 'ssldir' is a valid configuration parameter, so you can specify '--ssldir directory' as an argument. See the configuration file documentation at http://docs.puppetlabs.com/references/stable/configuration.html for the full list of acceptable parameters. A commented list of all configuration options can also be generated by running puppet master with '--genconfig'. --daemonize Send the process into the background. This is the default. --no-daemonize Do not send the process into the background. --debug Enable full debugging. --help Print this help message. --logdest Where to send messages. Choose between syslog, the console, and a log file. Defaults to sending messages to syslog, or the console if debugging or verbosity is enabled. --verbose Enable verbosity. --version Print the puppet version number and exit. --compile Compile a catalogue and output it in JSON from the puppet master. Uses facts contained in the $vardir/yaml/ directory to compile the catalog. EXAMPLE
puppet master DIAGNOSTICS
When running as a standalone daemon, puppet master accepts the following signals: SIGHUP Restart the puppet master server. SIGINT and SIGTERM Shut down the puppet master server. SIGUSR2 Close file descriptors for log files and reopen them. Used with logrotate. AUTHOR
Luke Kanies COPYRIGHT
Copyright (c) 2011 Puppet Labs, LLC Licensed under the Apache 2.0 License Puppet Labs, LLC June 2012 PUPPET-MASTER(8)
All times are GMT -4. The time now is 09:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy