Salt in simple terms is equal to the enhanced version of the func+ weakening version of the puppet
Here I will temporarily replace the role of Func (PS: Although a bit wasteful)
The architecture is as follows:
==================================
Manifests
==================================
1,at/etc/puppet/modules/salt
-------------------------
Init.pp
+++++++++++++++
Class Salt (
$server _ip = "
Crontab program that comes with the system. User: Add Crontab to a system account, which is added by default to the system account that is participating in the execution daemon.2 casesUse cron resource settings to call ntpdate every 5 minutes to adjust system time and edit/etc/puppet/manifests/cron.pp.Cron {' ntpdate ':ensure = present,Command = '/usr/sbin/ntpdate 192.168.0.1 ',user = ' root ',minute = ' */5 ',}#
::d Eluser ($username )
{
User {"$username": Ensure => absent,} file {"/home/$username": Ensure => absent,}}
Note that puppet also supports SSH key authentication, you can go to the official website to see, here or with the password
Use the following methods:
Node ' Server1 ' {
include user
realize user[' Dev1 '] # # Create Dev1
user individually::d eluser{"Userdel sa1":
1,puppet--server,client,agent time no SYN case erorPuppet Agent--server Frontend-tErr:could not request certificate:execution expiredExiting; Failed to retrieve certificate and Waitforcert are disabledNTPDATE[31953]: The NTP socket is on use, exitingNo server suitable for synchronization found[Ruiy tips TOPICS,VMI Date init instance date fetch set from PM (physics machines), LAN Time-server,sync Local host time can be set later]2,one mirroring and VMI
does not have a visual user interface, and users can only retrieve instances that need to be applied by retrieving them. Puppet Dashboard provides this part of the functionality.
Mcollective Features:
Ability to interact with small to large server clusters
Using the broadcast paradigm (broadcast paradigm) for request distribution, all servers receive requests at the same time, and only servers that match the filters that are included with the requ
Start a new project by building a new library in an existing Git repository and uploading the local git repository to the remote server's Git repositoryfirst , create a new folder on the local ABC, enter into ABC, and then git init. This initializes a git project ABC locally.then , log on to the remote git server, under the Gitrepo directory,mkdir abc.git. Then enter the Abc.git directory. git--bare init. T
Ext: 52287856A library (repository) in Maven is a collection of artifacts (artifact). Components are stored in a library in a certain layout.The Libraries (repository) in Maven can be divided into local libraries and remote libraries. The local library is under the specified path on the computer where MAVEN is installed (typically, the. M2/repository in the user'
Many times we have created a project locally, and we want to use Git to upload the code to prevent accidental loss of code after the project has gone through a phase. At this point we need to know how to upload a local project to a remote Git repository.Most of our daily life is to pull items from a remote git repository to local, and then upload them when the changes are complete. This process is believed to be familiar to everyone, so I wrote this b
1, the local Yum warehouse installation configurationTwo different ways:1. Each machine is equipped with a Yum repository on a local file system file:///packege/path/2. Configure a local file system Yum repository with one node (server-base) inside the LAN and publish it to the Web server.Other nodes can be http://server-base/pagekege/path/through theProduction process: First select a machine servername, mo
Blogapplicationexception;Public
Inputstream getattachedfile (string blogtitle)Throws
Blogapplicationexception;}
As you can see, this interface provides methods for adding, deleting, modifying, and querying, and also provides two methods for processing attachments. Next, we need a DTO object to transfer data between two layers.
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
PublicClass
Blogentrydto { PrivateString username;PrivateSt
Original address: http://www.onjava.com/pub/a/onjava/2006/10/04/what-is-java-content-repository.html? Page = 4
JSR-170 defines itself as an independent, standard way to access each other with the content repository. At the same time, it also makes its own definition of the content warehouse. It thinks that the content warehouse is an advanced information management system, which is an extension of the traditional data warehouse, it provides content se
JSR-170 defines itself as an independent, standard way to access each other with the content repository. At the same time, it also makes its own definition of the content warehouse. It thinks that the content warehouse is an advanced information management system, which is an extension of the traditional data warehouse, it provides content services such as version control, full-text retrieval, access control, content classification, access control, an
BlogApplicationException;}As you can see, this interface provides methods for adding, deleting, modifying, and querying, and also provides two methods for processing attachments. Next, we need a DTO object to transfer data between two layers.Public class BlogEntryDTO {
Private String userName;Private String title;Private String blogContent;Private Calendar creationTime;
// Getter and setter methods for each of these properties}Here we will only discuss the persistence layer.
Connect to jackrabb
GitHub Upload Project Method:Install Git on your computerGit Bash HereThe general process for creating and correlating local git repositories and remote repositories is:1. Initialize this local folder as a Git manageable repositoryGit initNote: Git will automatically create a unique branch for US masterWe can find a directory in the current directory .git , this directory is git to track the management of the repository, do not manually modify the fil
To invoke a job or conversion in the repository using kettle, you need to be aware of two issues:Issue One: (no IP required after-rep) standard shell code is as follows#!/bin/bashexport Java_home=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51-2.4.5.5.el7.x86_64/jreexport PATH= $JAVA _ Home/bin: $PATHexport classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar/home/kettle/soft/ Data-integration/kitchen.sh-rep myrepository-user admin-pass admin-dir/-
Linux yum Error: Cannot retrieve repository metadata (repomd. xml) for repository: base. Please verify its path and try again,
In Linux, if you use the yum command, an Error occurs: Cannot retrieve repository metadata (repomd. xml) for repository ........ as follows:
[Root @ localhost yum. repos. d] # yum makecacheLoad
managementOther items if you want to change the generic file you must switch to the branch and then generate and then switch back to add a new DLL (to ensure common project file consistency)
Incorporate projects from your mobile solution into your PC solution and then maintain them with the new branch mobile
Problem 1 has been resolved, when I was inThis problem is encountered when merging mobile solution projects into a PC solution:How does GIT merge files from another remote Git
Maven Repository Information Analysis site recommendation, maven repository information site
Maven is a dependency of java. It is a packaging and management tool. maven is required for a slightly larger java project.
As java grows, maven repositories become larger and larger. The jar packages in the repositories include more than 0.6 million, various groups, various components, and various versions. The d
Most of the time, we will encounter a lot of small projects in a git repository, but as some projects become more demanding or market demand, we need to pull them out and be maintained and developed as a separate project.
However, if the direct copy file is pasted into the new Git repository, the original commit will be discarded, so we cannot do so rudely.
What do we do? The following will be explained in
IOS git deletes a repository, creates a repository, and submits the combined operation code cloud, iosgit
HDHaoShaoPengdeiMac :~ Hdhaoshaopeng $ defaults write com. apple. finder AppleShowAllFiles TRUE
HDHaoShaoPengdeiMac :~ Hdhaoshaopeng $ killall Finder
The preceding command is used to view hidden files. In this way, you can intuitively view the file changes brought by the command line.
If the remot
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.